2653 Views
To calculate the length of any string or get the elements count of an Array or List, You can use len() function in Python. 1. Length of String name = "Sheetal Kumar" size = len(name) print(size) Output: 13   2. Length of List: items = ["A","B","C","D"] size = len(items) print(size) Output: 4   ...
Sheetal Kumar
Apr 24, 2019
Page 1 of 1 Pages       Total Records 1
  • First
  • Prev
  • 1
  • Next
  • Last