seq="today we are lucky!"
sub="today"
print(seq.capitalize())
print(seq.count(sub))
print(seq.endswith(seq,1,5))
print(seq.find(sub,0))
print(seq.index(sub,0))
print(seq.replace("are","was"))
print(seq.rfind(sub))
print(seq.split(' ',1))