Question: Please write using simple Python code! Question1: A Weird Lottery Write a code based on the desciption below: Receive a 10-digit lottery ticket number from
Please write using simple Python code!
Question1: A Weird Lottery Write a code based on the desciption below: Receive a 10-digit lottery ticket number from user, if the number is equal to "2205636346", print "You are the lucky winner of 10 Million Dollars!" if the number is equal to "1010101010", print "You are the unlucky winner of a bullet! Bang!" if the number is any other even number, print "You win a chocolate dipped hotdog!" if the number is any odd number, print "you are odd
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
