janayealey16
janayealey16 janayealey16
  • 20-08-2022
  • Computers and Technology
contestada

Can you solve this challenging activity?

Can you solve this challenging activity class=

Respuesta :

mikehollandflorida mikehollandflorida
  • 20-08-2022

Answer: See below.

Explanation:

user_tickets = int(input("How many tickets do you want to buy? "))

if user_tickets < 5:

   num_tickets = 1

else:

   num_tickets = user_tickets

print("You have {} tickets".format(num_tickets))

Answer Link

Otras preguntas

Gives scientist an exact age of a rock fossil.
what is 9-6n-(-5n)-(-8)
How long does a 1 cc shot of testosterone take to peck?
In the bible who created the world?
Why was the battle of fort sumter important?
Please help!excerpt from The Man Who Knew Too Much by G.K. Chesterton "You seem to know all about him," observed March, with a rather bewildered laugh, "and abo
How did the rise of industry and big business shape the focus of american society in regards to consumerism and labor?
The Bavarian Alps form Germany's _____ border. southern eastern northern western
What caused japanese disunity from the 1300s to the 1500s
State a hypothesis based on the following questions: Can air pressure be strong enough to crush an aluminum can? As an aluminum can is heated with water, what