name=" aleX" print(name.strip()) print(name.startswith('al')) print(name.endswith('X')) print(name.replace('l','p')) print(name.split('l')) print(name.upper()) print(name.lower()) print(name[1]) print(name[0:3]) print(name[3:5]) print(name.index('e')) print(name[:-1])