Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write an if-else statement for the following: If user_tickets is not equal to 6, execute award_points = 10. Else, execute award_points = user_tickets. Ex: If

Write an if-else statement for the following: If user_tickets is not equal to 6, execute award_points = 10. Else, execute award_points = user_tickets. Ex: If user_tickets is 14, then award_points = 10.

......... Write code below.........

user_tickets = int(input()) # Program will be tested with values: 6, 7, 8, 9.

print(award_points)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions