For Loop in Python
The for loop that is used is python,whenever we need repetition or iterate over a sequence .For Loop is one the frequently using loop in python.For loop has simple syntax .Let see the for loop syntax in details.
Here we are going to iterate over a sequence
#For Loop Syntax in Python cars = ["SWIFT", "BELANO", "BMW"] for x in cars: print(x)
Output
SWIFT BELANO BMW
I was more than happy to search out this web-site.I wanted to thanks to your time for this excellent read!! I undoubtedly having fun with each little bit of it and I’ve you bookmarked to take a look at new stuff you blog post.