Untitled
unknown
plain_text
10 months ago
222 B
10
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