Untitled

Anonymous
plain_text
09/12/2024 7:16 AM
296 B
32
Indexable
ordinals = ["first", "second", "third", "fourth", "fifth"]
    
wish_list = []
    
for i in range(5):
    item = input(f"Enter the {ordinals[i]} thing: ")
    wish_list.append(item)
    
print(",".join(wish_list))
Editor is loading...
Leave a Comment