Posts

Showing posts with the label print the first three characters of a string

print the first three characters of a string

 print the first three characters of a string      s=input()     print(s[:3])