Advertisement
JkSoftware

Day 5 - For Loops

Nov 8th, 2021
682
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. for i in range(5):
  2.   print('#:', i)
  3.  
  4. fruits = ["Apple", "Peach", "Pear"]
  5.  
  6. for fruit in fruits:
  7.     print(fruit)
  8.     print(fruit + "Pie")
  9.     #print(fruits)
  10. print(fruits)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement