Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Add books to the list")
- books = []
- book = input("Give me the title of the book")
- while book == '':
- input('book title missing')
- books.insert(len(books), book)
- while book != '': # w ten sposób jest to pętla nieskończona
- print(sorted(books))
- print(sorted(books))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement