DEV Community

Discussion on: 30 Days of Python 👨‍💻 - Day 5 - Conditions & Loops I

Collapse
 
deedeeramone profile image
DeeDeeRamone

My friend your are missing some ':' in the loops
reggards!

for item in {1,2,3,4,5}: # Set is iterable
print(item)

for item in (1,2,3,4,5): # Tuple is iterable
print(item)

Collapse
 
arindamdawn profile image
Arindam Dawn

Thank you so much :) I have rectified the statements now.