← Back to If Statements
Question 210
Yes Or No Answer
Yes Or No Answer
Ask Coming to the party? (one space after the question mark) and read the reply. A reply of yes prints See you there, no prints Maybe next time, and any other reply prints Please answer yes or no. Input: one line, the reply. The prompt is part of the output and the message follows it on the same line, as shown in Expected Output.
Expected Output:
Coming to the party? Maybe next time= newline. The output ends with a newline — print one after the last line.
Hints3 available
Sign in to use hintsTopics:
If Statements
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.