DAY 5 (CODE INFINITY)
Let's move forward in this marathon with another interesting topic loops. They can iterate over a sequence of iterable objects in python There are two types of loops :
1. For loop
2. while loop
we will discuss for loop first then while loop in coming blogs so Let's get started...….
Also done in previous blog.
name="Shweta"
for characters in name:
print(characters)
We can print table of five using for loops and while loop as syntax is very easy and convenient in loops .
for i in range(5,51,5)
print(i)
Screenshot of about two codes :
https://replit.com/@shwetaantil97/Python
Comments
Very useful 💯