Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
222 B
3
Indexable
Never
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))
Leave a Comment