open_in_new
content_copy
word = 'Typesetting' ans1 = word[:3] #Another way:- word[0:3] print(ans1) #output: Typ