The program isn't asking for any additional input.
What are you trying to accomplish by comparing your input to 'x'?
Did you want to include a loop? Or did you leave some code out?
Since Y!A eliminates indenting which is significant in Python you should use "--- " for each indentation level.