Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 260 Bytes

File metadata and controls

6 lines (5 loc) · 260 Bytes

Length

  1. How to print the length of the string 'abcd' ?
  2. How to print the length of the variable x (x is the list [5, 30 ,2]) ?
  3. What would be the length of following dictionary {'x': 3, 'y': 3} ?
  4. What would be the length of the tuple ('x', 'y') ?