earlution

FOR problems

Jun 23rd, 2020
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. '''
  2. Problem 1
  3. '''
  4. my_list = ["Monday", 3, True, 3.141, "summer", "Warminster"]
  5. for item in my_list:
  6.   print(item)
  7.  
  8.  
  9. '''
  10. Problem 2
  11. '''
  12. for i in range(0, 5):
  13.   i += 1
  14.   print(i)
Add Comment
Please, Sign In to add comment