Write down the syntax of for loop of Python
Share
Write down the syntax of for loop of Python
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer:
Loops in python
while loops
i = 1
while i < 6:
print(i)
i += 1
For loops
fruits = ["apple", "banana", "cherry"]
for x in fruits:
print(x)
Explanation:
hope this help you
Answer:
can you be my friend best please