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

What was Franklin Roosevelt’s “Brain Trust”? (A) The heads of Roosevelt’s executive agencies (B) A collection of intellectuals who served as unoffi cial adviser
6R + r -5r simplify each expression A.2r B.1 r + r C.0r D.7r-5r
Maria are flat areas on the moon’s surface. true or false ??
10+what can give me 49
With which of the following would John Wycliffe not agree? clergy members living in poverty Christians reading and analyzing the Bible themselves a priest telli
The total weight of 30 bags of flour and 4 bags of sugar is 42.6 kg. If each bag of sugar weighs 0.75 kg, what is the weight of each bag of flour?
Select the items below that describe specific kinds of producers.
will the opposite of a number always,sometimes,or never be greater than the number itself??????? can someone do an example and answer my question please and tha
Which was NOT a motivation for European exploration in the fifteenth and sixteenth centuries? A:the desire for wealth B:ottoman control of the Silk Road C:the r
on three days last week maria ran 3/4 mile 7/8 mile and 3/5 mile. List the distances in order from least to greatest