Details of this Paper

Python assignment Write a program that asks for the users

Description

solution


Question

Python assignment: Write a program that asks for the user's age. Based on their response print "You can vote" (18 years old or older) or "You can't vote" and also whether or not he/she is a senior citizen (over 64). If senior citizen print "You're a Senior Citizen...you deserve two votes"! Use the Idle editor and don't forget the.py extension.;Variables should be meaningful. Example: Use Quarters instead of Q!;Make sure you include the following code so the output of your program will remain on the screen until the user hits return.;endofprogram = input("Please hit enter to exit from this program:")

 

Paper#67775 | Written in 18-Jul-2015

Price : $32
SiteLock