Strings
Lesson 6Author : 🦒
Last Updated : October, 2017
Video Code
greeting = "Hello"
#indexes: 01234
print( len(greeting) )
print( greeting[0] )
print( greeting[-1] )
print( greeting.find("llo") )
print( greeting.find("z") )
print( greeting[2:] )
print( greeting[2:3] )