Sets – Python

Hello Techies!!! We have learned three ways to store data till now - lists, tuples and dictionaries. Today, we will learn about a different type of collection called sets. What are sets? What is its use? A set is a collection which is unordered and unindexed. In Python sets are written with curly brackets. It … Continue reading Sets – Python

Dictionaries – Python

Hello Techies!! We have learned about lists and tuples till now which were ordered collections and allowed duplicate values. Now, lets learn more about different type of collections in python. Today, we will look into dictionaries. As we all know our traditional dictionaries. right? They are collection of data where we can look for words … Continue reading Dictionaries – Python

Tuples – Python

Hello Techies!!! Hope you guys are doing great. Waking up everyday to learn and apply something new is so exciting. In last tutorial, we learned about a way to store data using a collection called as List. Today, we will look into something called a tuple. Tuple is similar to list storage. It is a … Continue reading Tuples – Python

Loops in python

Hello Techies!!! Let's continue our journey of learning python and use it to eventually solve real world problems technically. What does looping mean in programming? Looping is basically executing a sequence of statements repeatedly. If we do this based on some condition that means we are controlling the loops (control loops) There are two primitive type of … Continue reading Loops in python

Comments and Docstrings

Hello Techies!! What are comments ? Comments are used to remind yourself and to inform others about the function of your program. Multi line comments are used for large text descriptions of code or to comment out chunks of code while debugging applications. Comments are ignored by the compiler. Debugging is the process of identifying and removing errors from your code. To write … Continue reading Comments and Docstrings

If else statement in python

Hello Techies!! Hope you all are doing great! 🙂 Let's start by learning conditional statements today. Now, you must be thinking, what are conditional statements? A statement that controls flow of execution depending upon condition. Example: If it rains, I can't go out else I will. Now, above example is a conditional statement because my … Continue reading If else statement in python

Strings in python – Part 2

Hello Techies!!! Let's recap a little bit, we learned about what strings in python are, how can we print a string, join two or more strings, print length of a string, print character at specific indexes in a string. Today, we will learn more about string manipulation which will include changing a string to lowercase, changing … Continue reading Strings in python – Part 2

Strings in python – Part 1

Hello Techies!!! What are strings? Anything from a letter to a word to a sentence to a paragraph is referred to as string. For a letter, we will further refer it to as a character (usually called in programming reference). String Literals are usually surrounded by single ('hello') or double quotation marks ("hello") in python. … Continue reading Strings in python – Part 1

Functions in Python

Hello techies!!! Today we will learn about functions in python. What are functions? A function is a block of organized, reusable code that is used to perform a single, related action.  They provide better modularity for your application and a high degree of code reusing. This means that you will have a separate block for doing one task. Python gives you many built-in functions like print(), … Continue reading Functions in Python