Advertisement
PawsonCz

Untitled

Jan 17th, 2020
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. print("Add books to the list")
  2. books = []
  3. book = input("Give me the title of the book")
  4. while book == '':
  5.     input('book title missing')
  6. books.insert(len(books), book)
  7. while book != '': # w ten sposób jest to pętla nieskończona
  8.     print(sorted(books))
  9. print(sorted(books))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement