Create a Program that asks the user for their age. If their age is older than 65, print how old they are and tell them their ticket price is $5. If their age is between 25 & 65, print how old they are and tell them their ticket price is $10. Otherwise print their age and that their ticket price is $5. You should use elifs and concatenation

Answers

Answer 1

age = int(input('Age: '))

if age >= 65:

   print(f'You are {age} years old and your ticket is $5')

elif age >= 25 and age < 65:

   print(f'You are {age} years old and your ticket is $10')

else:

   print(f'You are {age} years old and your ticket is $5')


Related Questions

William created a spreadsheet and he would like to enter the data he collected. What information should he put in the first row?

A. A pie chart for the data
B. His survey question
C. How many people he surveyed
D. Where he asked his questions

Answers

how many people he surveyed

Read the following e-mail that Natalie sent. Give Natalie some advice to help her improve her electronic communication. Be sure to describe at least two netiquette guidelines that she should follow.

Answers

Using Proper punctuation and capitalization,Also Correctly signing off an email.

Which areas of a business would most benefit from using the Workday platform?


Enterprise resource planning, supply chain, and inventory management


Human resources, compliance, recruiting, and finance


Private equity issuance and listing on a public exchange


Compliance, server machine administration, and anti-money laundering

Answers

Answer:

The first option would be the best I think

Explanation:

Enterprise resource planning, supply chain, and inventory management would most benefit from using the Workday platform. Thus, option A is correct.

What is a business?

A business is defined as an organization that does monetary transactions. It usually means that the product is being made manufactured, processed, or even repacked in a business. the sole reason to create money by exchanging goods or services with the purchaser or the buyer.

Every form of company, including small, medium, and large organizations, uses Workday's numerous capabilities. They are a cloud-based system and the software helps to create it internally and manage the resources to know when to have new products, and also it is made online managed. Therefore, option A is the correct option.

Learn more about the Workday platform, here:

https://brainly.com/question/21941429

#SPJ2

(k + 3)by the power of 3​

Answers

Answer:

k^3 + 9k^2 +27k +27

Explanation:

hope this helps

vegetable farming is a good source of income explain this statement

Answers

Answer:

Answer:qwertyuioplkjhgfdsazxcvbnm

Answer:qwertyuioplkjhgfdsazxcvbnmExplanation:

Answer:qwertyuioplkjhgfdsazxcvbnmExplanation:qwertyuioplkjhgfdsazxcvbnm

write an algorithm to sum all numbers between 0 and 1000 that are divisible by ,7​

Answers

Answer:

The algorithm is as follows:

1. START

2. SUM = 0

3. FOR NUM = 0 TO 1000

3.1 IF NUM % 7 == 0

3.1.1 SUM = SUM + NUM

3.2 END IF

4. END FOR

5. PRINT SUM

6. END

Explanation:

This begins the algorithm

1. START

This initializes sum to 0

2. SUM = 0

This iterates from 0 to 1000

3. FOR NUM = 0 TO 1000

This checks if the current number is divisible by 7

3.1 IF NUM % 7 == 0

If yes, the number is added

3.1.1 SUM = SUM + NUM

End the if condition

3.2 END IF

End loop

4. END FOR

This prints the calculated sum

5. PRINT SUM

The algorithm ends here

6. END

Pls help I'm trying not to fail.​

Answers

Answer:

18

Explanation:

tryIt(2) will return 9 because 2+7 is 9 (7 is the default value of b)

9 * 2 = 18.

You can try this yourself at replit.

System.out.print(two.indexOf('r'));

Answers

What is this I can’t comprehend

Which areas of a business would most benefit from using the Workday platform?

Answers

Answer:

Human resources, compliance, recruiting, and finance would benefit the most from using the workday platform.

Explanation:

The workday platform is used in human resources, compliance, recruiting, and finance department where it is a helpful platform that brings great mobile experience for managers, recruiters, employees that is in need of information access elsewhere. It also helps in organizing, and find candidacies for their respective departments. It is also perfect for any kind of management that can be helpful for the team.

The Workday Platform will provide the most benefit to Human resources, compliance, recruiting, and finance in business.

Workday PlatformThe Workday platform is a cloud-based software vendor whose specialty in business is in the areas of human capital management, enterprise resource management, and financial management applications Benefits of workday platform

In the business world, the Workday Platform will provide the most benefit to Human resources, compliance, recruiting, and finance in the following ways:

It is used in human resources for recruitment purpose.It also helps in organizing, and find candidacies for their respective departments.it provides a useful management system

Learn more about Business and Workday platform at: https://brainly.ph/question/11472985

8.3 code practice edhesive PLEASE HELP AND HURRY
Write a program that uses an initializer list to store the following set of numbers in an array named nums. Then, print the array.

14 36 31 -2 11 -6

Sample Run
[14, 36, 31, -2, 11, -6]

ALSO I DONT NEED A SUM I NEED AN ARRAY

Answers

Answer:

numbers = '14 36 31 -2 11 -6'

nums = numbers.split(' ')

for i in range(0, len(nums)):

  nums[i] = int(nums[i])

print(nums)

The program is an illustration of arrays and lists.

Arrays and lists are variables that are used to hold multiply values in one variable

The program in Python, where comments are used to explain each line is as follows:

#This gets input for the list of numbers

numbers = input()

#This splits the numbers into a list

numList = numbers.split(' ')

#This iterates through the list

for i in range(len(numList)):

   #This converts each element to an integer

   numList[i] = int(numList[i])

#This prints the list

print(numList)

Read more about Python lists at:

https://brainly.com/question/24941798

The average American has 10 devices, ask for users average number of devices. Any number between 7 and 12 will print “you have an average number of devices” but if it beyond the range it will print “you’re beyond the average range”

Answers

This is for Python

device_num = int(input('How many devices do you have: '))

if device_num >= 7 and device_num <= 12:

   print('You have an average number of devices')

if device_num > 12:

   print("You're beyond the average range")

Which type of loan is based on financial need

Answers

Answer:

Direct Subsidized Loans are based on financial need.

hope my ans helps

be sure to follow me

pls give brainlist to my answer

stay safe

have a good day

With whom does the success of information processing in the firm lie with?

Answers

Answer:

depends

Explanation:

it lies with the entire firm and its ability to utilize or process the information in the most efficient way.

Need more info man sorry

Jack is an accountant. He can’t access the spreadsheet software that is installed on the server. What should Jack do? Jack should ____ the server and check to see if it has crashed.

(this is for those who need to get this question right) the correct answer is that he should use the ping command so it goes "Jack should ping the server and check to see if it has crashed

Answers

Answer:

hack

Explanation:

Answer:

ping

Explanation:

What are the challenges of Cyber Law???? Needed ASAP ​

Answers

Answer:

Explanation:

Few challenges that the technology space faces in cyber security are the following:

Digital Data Threat: Growing online transactions generate bigger incentives for cybercriminals. Besides, establishments looking to mine data—for instance, customer information, results of product surveys, and generic market information—create treasured intellectual property that is in itself an attractive target.

Supply Chain Inter-connection: The supply chains are increasingly interconnected. Companies are urging vendors and customers to join their networks. This makes a company’s security wall thin.

Hacking: This action is penetrating into someone’s system in unauthorized fashion to steal or destroy data, which has grown hundred folds in the past few years. The availability of information online makes it easier for even non-technical people to perform hacking.

Phishing: The easiest to execute and can produce the results with very little effort. It is the act of sending out Fake emails, text messages and create websites to look like they're from authentic companies.

If I wanted to design an app for world peace, what problems could a computer help me to solve? Select ALL that apply *


A. Ranking countries and their peacefulness based on war history, taking into consideration World War participation, Civil Wars, number of years at war over the last 100 years, and total deaths as a direct result of war over the last 100 years


B. Create a forum where people wanting to promote world peace can meet and discuss strategies.


C. Design an interactive map where people can see where war is taking place

D. Make the leader of a country change his/her mind about going to war

E. Stop a war that is currently happening

Answers

Answer:

I believe B is the correct answer.

Explanation:

A is quite useful, but it's not necessary for our goal of world peace.

E is too vague and doesn't help the cause. How do you simply 'stop a war' and how can we ensure that more wars won't arise in the future?

D does stop a war from going on, but it doesn't solve the problem of wanting world peace, as more wars can arise in the future.

C, as the idea, is really cool, again, how will it help our cause of wanting world peace?

I understand that you can choose multiple answers here, but you can't simply change one's mind just for the sake of wanting peace. Wars are a problem and do take part in world peace, but that doesn't change the fact that someone is not at peace with others. You've got to change their minds, not just the idea of wanting to go to war.

Please, do tell me if I got this incorrect.

underfloor, cellular concrete floor, cellular metal floor, surface, wireway and busway are all kind of
A. raceways
B. conduit
C. wiring
D.NEC rules

Answers

Answer:

Option C

Explanation:

Underfloor, cellular concrete floor, cellular metal floor, surface, wireway and busway are all kind of wiring.

In these wiring method, a conduit body or a box is installed at  conductor splice, outlet, switch, junction, termination or pull point.

Hence, option C is correct

Malcolm works in a preschool where he takes care of eighteen young children each morning. The children always have a lot of energy, and on some days, the children misbehave. Which quality is most important for Malcolm as he works in early childhood care?

research skills and psychology knowledge
computer and technology skills
patience and stress-management skills
mathematical skills and financial knowledge

Answers

Answer:

patience and stress management skills

Answer:

c

Explanation:

i took the test

Two workers in a farms will plucking a strawberry.
30% of the collection belongs to the owner.
40% of strawberry will devide by each workers.
Balanced will make a drinking juice.​

Answers

Answer:

20%

Explanation:

20% only I know the answer cus I already did it it’s 20% and yeah

a.
Introduction to HTML, CSS & JavaScript
Introduction to HTML
b. Basic Tags in HTML
CSS
d. JavaScript
C.​

Answers

Answer:

.....................,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

Explanation:

Answer:

Whats the question?

Explanation:

graphic designers can compress files in different formats . One of the formats ensures that the quality and details of the image are not lost when the graphic designer saves the file. which file format is this ?​

Answers

Answer:

The format that is used is: PNG

Explanation:

what is information

Answers

Answer:

Information can be thought of as the resolution of uncertainty; it is that which answers the question of "What an entity is" and thus defines both its essence and the nature of its characteristics. The concept of information has different meanings in different contexts.

Explanation: idek if that helps let me kno

What is the exact number of bytes in a system that contains (a) 32K bytes, (b) 64M bytes,
and (c) 6.4G bytes
I need the answer as soon as possible please

Answers

Answer:

32K significará 32768 bytes, 64M = 67108864, 6.4G = 6851834668

Busque la diferencia entre kilobyte (kB = 1000) y kibibyte (KiB = 1024)

Explanation:

1- every employee’s salary lies within a job grade. Use your HR ERD to show the employee ID, first and last names, salary, job name, and job grade
2- displaying employees and their managers, along with the department names in which they belong. Display the employee ID, first and last name, manager ID and department name. The output must be arranged so that departments are shown together before another one is displayed.
3- Write suitable SQL statement to show this scenario: The HR department needs you to produce a report on job grades and salaries. Write a query that will display the names, job name, department name, salary, and grade for all employees.
4- subquery that reports the last name, department ID, and job ID of all employees whose department location ID is 1700 or 1800.​

Answers

Answer:

share full detail of your question categorically.

Explanation:

Which of these is a problem that a computer CANNOT solve? *

Getting rid of racism
Making a game for entertainment
Getting the news out to the public quickly
Helping architects build models of new buildings

Answers

getting rid of racism

Answer:

i would say getting rid of racism

Explanation:

because i think it’s right and it is a real life problem

distiguish between file organisation and file access​

Answers

Answer:

A set of records constitutes a file

question
what is the advantages of maintaining a list of keywords while creating a design blueprint?

A: helps create structured content that has an even and simple flow.

B: helps create content tailored to provide the site with a higher chance of coming up in a relevant web search.

C: helps create elements that work towards a single objective.

D: helps give the website a proper flow

Answers

Your answer would be A

What makes a source credible?

It is found online.
It contains bias.
It is believable or trustworthy.
It supports multiple perspectives.

Answers

Answer:

C It is believable or trust worthy

Answer:

It's C: It is believable or trustworthy.

Explanation:

I got it right.

how can the use of ICT ​

Answers

Answer:

ICT allows students to monitor and manage their own learning, think critically and creatively, solve simulated real-world problems, work collaboratively, engage in ethical decision-making, and adopt a global perspective towards issues and idea.

Which of the following is not a data type in Python?

A. Tuple
B. String
C. Float
D. Complex dictionary ​

Answers

Answer:

D

Explanation:

There is no such thing as complex dictionary in python.

Other Questions
plz is this correct? write a letter on saving ocean pollution WILL PAY REAL MONEY IF I GET ACTUAL ANSWERSCan someone help me get 12 Quotes for Fahrenheit 451 that support the idea that the novel is set in a dystopia OR utopia. It has to be clear which side it supports. Help me ASAP with this one !!!!!! Which of the following models best represents an old colonial port zone and its surrounding commercial districts? These polygons are similar. Find the scale factor of the smaller figure to the larger figure.Can you guys help??? What are the impacts of the three major religions in the region of the Middle East? Help me please I have one day until the quarter and I need to pass this class Im failing please help me Logically why would light move faster in vacuum than in a solid? *light cannot travel in vacuum; it needs a medium to travel in just like mechanical wavesthis is incorrect, light moves faster in a solidin a solid light gets absorbed by atoms before coming out the other sidethere's nothing for light to bounce off of in vacuum PLEASE HELP I ASKED THIS QUESTION YESTERDAY AND NOBODY ANSWERED.Ahmed fills an empty container with water at a constant rate . he turns off the water when the container Springs a leak, and the water level decreases until he can seal the hole. After he fixes the leak, the water level stays constant . which graph could represent this scenario? There is a place where the sidewalk endsand before the street begins,and there the grass grows soft and white,and there the sun burns crimson bright,and there the moon-bird rests from his flightto cool in the peppermint wind.Let us leave this place where the smoke blows blackand the dark street winds and bends.Past the pits where the asphalt flowers growwe shall walk with a walk that is measured and slowand watch where the chalk-white arrows goto the place where the sidewalk ends.Yes we'll walk with a walk that is measured and slow,and we'll go where the chalk-white arrows go,for the children, they mark, and the children, they know,the place where the sidewalk ends. How to the children contribute to the theme of the poem? An HDTV is normally $949, but is discounted to $499. What percent of the original price does Keenan pay? Which of the following describes the MAIN thematic concept in the passage? A soccer coach fills a jug with 10 liters of water before practice. Which object has a volume closest to that of the water jug? coffee mug fish tank soda can swimming pool Under President Eisenhower's Domino Theory,each "domino" represented what?A. a countryB. a villageC. a city Suppose you wanted to know how many grams of KCl would be left if 350mL ofa 2.0M KCl solution were evaporated to dryness.b. How would heating the solution affect the mass of KCl? what number is 10% of 65?write the whole number from each problem Help. What is the expression for number b squared?? PLEASE HELP I WILL MARK BRAINLIEST NEED TO DO THIS BEFORE 12:00Explain the cultural changes the Aryans brought to the Mohenjo-Daro/Harappa and Dravidian people who lived in the Ancient India. Find the value of x.(Do not include the degree symbol in your answer. Round to the nearest degree as needed)