Advertisement
ancestor_tunji

#first_three_character

Feb 6th, 2020
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. #8
  2. def first_three_character(y= ""): # enter as many characters as you can !
  3.     return(y[0:3])
  4.  
  5. #example
  6. first_three_character("dynasty")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement