Login using Social Account
     Continue with GoogleLogin using your credentials
Now we will define another function named ask_question
which will ask a Yes/No question to the use.
Define a function named ask_question
as shown below:
def <<your code goes here>>(question):
response = None
while response not in ("y", "n"):
response = input(question).lower()
return response
Taking you to the next exercise in seconds...
Want to create exercises like this yourself? Click here.
No hints are availble for this assesment
Note - Having trouble with the assessment engine? Follow the steps listed here
Loading comments...