Advertisement
Adehumble

Week3 Coding Exercise 9

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. #9
  2. def string_theory(string):
  3.     if len(string)>3 and string.startswith("S"):
  4.         print("True")
  5.     else:
  6.         print("False")
  7.  
  8. user_input=input("Enter any word of your choice: ")
  9. string_theory(user_input)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement