text = "hello"
print(len(text))

output

5

Note

  • Strings are iterable (can loop through)
  • Use for loop to access characters