Advertisement
Sabbir-bin

for loop in list

Jun 17th, 2020
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. magicians=['alice','david','carolina']
  2. for m in  magicians :
  3.  
  4.     print(m.title() +"," "that was a great trick")
  5.     print("I can't wait to see your next trick ," + m.title() + ".\n")
  6. print("\n\n\tThank you  everyone . That was great magic show!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement