1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
ASHA 777 [7]
3 years ago
6

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 tic

ket 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
Computers and Technology
1 answer:
jok3333 [9.3K]3 years ago
3 0

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')

You might be interested in
At Moore High, 456 students attended the prom. This is 65 more students than
wlad13 [49]

Answer:

B-15%

Explanation:

5 0
3 years ago
Read 2 more answers
Only the Windows Server 2016 Standard and Datacenter editions are compatible with the common language runtime used in Microsoft
Yakvenalex [24]

Answer:

False

Explanation:

All Windows Server 2016 version are compatible with the common language runtime used in Microsoft .NET Framework and Microsoft Visual Studio .NET.

Also, Windows Server 2019 is compatible, along with Windows Server 2012 in all its versions

No regular Windows editions are compatible, but that is not strange, because they are not meant to be servers

6 0
3 years ago
An employee has contacted the IT Support call center where you work. They are complaining that they are unable to access any web
TEA [102]

Answer:

C

Explanation:

Remember the question says LEAST LIKELY. The questions states that internal web servers work but external ones do not. If wireless were the issue nothing would work at all. The issue is more likely to be related to external DNS, a firewall or an issue with the proxy used to connect outside the local network.

3 0
3 years ago
what is the role of media in our society, and how can we become responsible consumers producers of news and information in the d
alexira [117]

1.Own your image, personal information and how these are used.Pay close attention to the 2.Terms of Use on apps and websites. ...

3.Obtain permissions when posting videos or 4.images of others on your networks. ...

Scrub your accounts. ...

5.Password diligence. ...

Spread love, not hate.

7 0
3 years ago
To get a sense of your digital footprint, you should:
Serggg [28]
Google yourself once a year.
4 0
4 years ago
Read 2 more answers
Other questions:
  • Convert A4B from hexadecimal to binary. Show your work.
    11·1 answer
  • My computer keeps shutting down I've tried to completely wipe the memory but it didn't work do you have any ideas how to fix it
    7·1 answer
  • In what year did the manager and team depicted in the blockbuster film "Moneyball
    9·1 answer
  • Slide layouts can be changed by _________
    6·1 answer
  • James would like to send a document he has saved on the hard drive to coworkers in Ireland, Brazil, and India. These coworkers h
    6·2 answers
  • write a program in C# that reads a set of integers and then finds and prints the sum of the even and odd integers?​
    12·1 answer
  • Choose all items that represent characteristics of HTML attributes.
    5·2 answers
  • Brian is a computer engineer who writes security software for a banking system. The
    13·1 answer
  • What can be changed when a style is modified?
    5·2 answers
  • compare the two methods of creating table in ms access ( Datasheet view and Design view) which one wouldyou prefer to use to rec
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!