madisonvigliotti73 madisonvigliotti73
  • 30-09-2021
  • Engineering
contestada

Write an if-else statement for the following: If user_tickets is equal to 7, execute award_points = 1. Else, execute award_points = user_tickets.

Respuesta :

sanchez9457
sanchez9457 sanchez9457
  • 30-09-2021

Answer:

if user_tickets == 7:

  award_points = 1

else:

  award_points = user_tickets

Explanation:

Not sure what language you are using. But this can be used for python. Also don't know if you are required to ask the user for any input

Answer Link

Otras preguntas

Which one of these factors did all the early reports of AIDS cases have in common? A. Blood transfusions. B. The sharing of intravenous needles. C. No exchange
Research the sinking of the passenger ship The Lusitania and share your findings. Why was its sinking controversial? Did the Germans have a right to sink the sh
How is 8% sales tax like an 8% increase?
PLEASE HELP ME!!! What could happen if people do not fulfill a civic duty or responsibility? Give a specific example.
Please help! Thank you!
3) Explain the difference between CO2 and C204.
(Need this question answered, will give brainliest) Read the excerpt from an adaptation of "To Build a Fire.” The sight of the dog put a wild idea into his hea
A father carries the Xga blood group trait and passes it on to all of his daughters, who express it, but to none of his sons. The mother does not carry the Xga
The number of beans in 3.17 pots
Following this experience in the military, Hans developed a classical conditioned fear response to radio static. After he left the military, the response exting