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
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
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
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
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
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
Hello techies!! We will learn about variables today. Let's see it by an example : a=1 What does the above line mean? It means that we are assigning a value of 1 to 'a'. Here a is a variable. It can be anything, but for now, its value is 1. There is a print command … Continue reading What are variables?