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

The acceleration due to gravity on the surface of Jupiter is about 2.5 times the acceleration due to gravity on Earth’s surface. What would be the weight of a s
Find the sum of the two numbers and express the answer in scientific notation. 32.7 + (2.3 x 10-2) A) 3.2723 x 10 1 B) 3.293 x 101 C) 3.5 x 10-1
Which pair of properties apply to both sound and electromagnetic waves? PLZ HELP!!!
If the narrator of a fictional piece is not a character in the story, which statement about the narrator is true? A.The narrator of the work is always known as
What kind of complement is the underlined word? The newest member of the team will be Rodrigo. a. predicate adjective b. predicate nominative c. indirect obj
how did Chinese inventions alter the course of world history
what forms when water supporting the roof of a cavern drains and the roof falls
Channels within the structure of the cell membrane are composed of A) carbohydrates. B) disaccharides. C) phospholipids. D) proteins.
What 2 numbers can you add up to get 24 and multiply to get -25?
Are vegetarians healthier than people who eat meat?