Y or N
April 14, 2022
1:47 PM
def prompt(message): 
 val = input(message) 
 if val.strip().lower() == ‘y’: 
 return True 
 elif val.strip().lower() == ‘n’: 
 return False 
 print(‘Error, please type y or n’) 
 prompt(message) 
From <[link]> 
Question = input("do you say yes or no? // Options-->  [y,n]
Str(lower((Split(Question)[1])))  ==  "y"