muhammad_nasif

TASK_03

Apr 12th, 2021
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.36 KB | None | 0 0
  1. book_info = (("Best Mystery & Thriller", "The Silent Patient", 68, 821),
  2.              ("Best Horror", "The Institute", 75, 717),
  3.              ("Best History & Biography", "The Five", 31, 783),
  4.              ("Best Fiction", "The Testaments", 98, 291))
  5.  
  6. size = len(book_info)
  7. print("The size of tuple is: "+str(size))
  8.  
  9. for data in book_info:
  10.     print(data)
  11.  
Advertisement
Add Comment
Please, Sign In to add comment