Write a program that asks for the user age

Assignment Help Python Programming
Reference no: EM13810897

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.

Reference no: EM13810897

Questions Cloud

How long does it take the phantosaur to accelerate : How long does it take Scooby to accelerate to his top speed and how far has he traveled and how long does it take the Phantosaur to accelerate to his top speed and how far does it travel?
Threats merit the most intelligence analysis resources : Should all non-traditional threats receive the same focus by the intelligence community. If not, then which factors would you consider in choosing which non-traditional threats merit the most intelligence analysis resources
Marketing courses of action for overcoming : Retail Execution case study should be approximately two pages in length (double-spaced). You should include the following:
Social media and emergency communications : Social Media and Emergency Communications
Write a program that asks for the user age : 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)
What deceleration would the car require to stop in time : What deceleration would the car require to stop in time? What acceleration would the car require to clear the intersection before the light turns red?
What ways is a non-state actor different from a nation-state : In what ways is a non-state actor different from a nation-state. Please be specific and give examples of each to support your argument.
Feminization of poverty : Feminization of Poverty
Spelling and grammar errors : Create a document with three parts: a cover letter, resume, and interview thank you letter. Be sure to include ALL THREE PARTS in the SAME document. Be sure to check for spelling and grammar errors

Reviews

Write a Review

Python Programming Questions & Answers

  Design a function that accepts an integer

Design a function that accepts an integer argument and returns the sum of all the integers from 1 up to the number passed as an argument. For example, if 50 is passed as an argument, the function will return the sum of 1, 2, 3, 4, . . . 50. Use recur..

  The integers should be printed in order with addresses

The integers should be printed in order with addresses from main. When the steps of the function order have been completed the smallest value will be stored in a, the middle in b, and the largest in c.

  Code for the haunted house game

Improve the game by adding more features, for example you can examine more items, more props etc. You may implement this using more lists regarding items and props, remember, you should check if the object is being carried or in the location of th..

  Disabled individuals open jars and containers

What variables are you going to need and what will be their datatype and how would you break this problem into numerous smaller units?

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Make a python program that uses the getcwd

Make a Python program that uses the getcwd() function to provide a string of the current working directory. Save the string in the variable current folder and display the value.

  Python program that reads in a series of positive integers

Write a Python program that reads in a series of positive integers and writes out theproduct of all the integers less than 25 and the sum of all the integers greater than or equal to 25. Use 0 as a sentinel value

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Programmer does not have to use the def statement

Unlike Z+-, the programmer does not have to use the DEF statement to create a variable. Instead, the programmer can simply use the variable. The first use of the variable creates it and initializes it to 0.

  The managing director of aussie best car abc has invited

the managing director of aussie best car abc has invited you to build a new computer system for them in python. the abc

  Cleint software so that it does not display

Rewrite the cleint software so that it does not display an echo of a message sent by the users. Maybe it means that each time a user tries to send a private message that same message is also sent back to them? summary: stop that from happening?

  Project title email spam filterabstractanalyze the emails

project title email spam filterabstractanalyze the emails and predict whether the mail is a spam or not a spam.to work

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd