For this to work I needed to loop through the variable (which in this case was the dog's name input) and print it in the for in upper case. Lastly I printed " And Bingo was his name-o!" The task wasn't to hard to complete as it was simple to follow the information given.
name = input("Dog's name: ")
for c in name:
print(c.upper())
print("And",name,"was his name-o!")
No comments:
Post a Comment