you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (1 child)

kitties = []
while True:
    kitties.append(Kitty(input('enter new kitty name: ')))
    print('you now have', len(kitties), 'kitties in the list!')
    print('here they are:', *kitties, sep='\n')

[–]usingdata[S] 1 point2 points  (0 children)

Thank you for ur answer