fork download
  1. #Sample for http://w...content-available-to-author-only...k.com
  2. # Lenth of list
  3. x = ["name", 25, "company", 120000]
  4. print(len(x))
  5. # Lenth of String
  6. y = "names"
  7. print(len(y))
  8. # Lenth of tuple
  9. z = ("name", 25, "company", 120000, 46578, "test")
  10. print(len(z))
  11.  
Success #stdin #stdout 0.01s 9992KB
stdin
Standard input is empty
stdout
4
5
6