[Tutor] age program

Andre Jeyarajan andrejeyarajan at rogers.com
Mon Nov 29 15:29:44 CET 2010


Write a short program that will perform the following:It will ask the user for his age,it will then present the user with a menu, with 4 choices:Tell the user whether his age is an even or an odd number 
Tell the user his age squared 
Tell the user how many years until he’s 100 years old, or tell him that he’s alerady over 100!  If the user is exactly 100 years old, congratulate him for being a centurion. 
I have tried everything i can. Can you please explain it to me?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20101129/03f88e13/attachment.html>


More information about the Tutor mailing list