User input can be obtained using the following statement and storing it into a variable for future use: num = input(“Enter a number: “) The Python shell will wait for the user to input a number and then continue forward with the next line in the script. Write a Python script that accepts input until the user enters the number 999 to stop.  Determine whether the user input is either an odd or even number.  If it is an odd number, output: “You entered an odd number!”.  If it is an even number, output: “You entered an even number!”. If the user quits by entering 999, output: “Thanks – Game Over!”.  Test your code for all three conditions.  Remember 999 is an odd number so make sure it doesn’t print – “You entered an odd number!”

Looking for solution of this Assignment?


We deliver quality original papers

Our experts write quality original papers using academic databases.We dont use AI in our work. We refund your money if AI is detected  

Free revisions

We offer our clients multiple free revisions just to ensure you get what you want.

Discounted prices

All our prices are discounted which makes it affordable to you. Use code FIRST15 to get your discount

100% originality

We deliver papers that are written from scratch to deliver 100% originality. Our papers are free from plagiarism and NO similarity.We have ZERO TOLERANCE TO USE OF AI

On-time delivery

We will deliver your paper on time even on short notice or  short deadline, overnight essay or even an urgent essay