Advertisement
ancestor_tunji

#string_theory

Feb 11th, 2020
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. #string_theory
  2. def string_theory(string = "word "):
  3.     if len(string) > 3 and string.startswith("S"):
  4.         print("True")
  5.     else:
  6.         print("False")
  7. string_theory("Sade")
  8. string_theory("ade")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement