Question: solve CHALLENGE ACTIVITY 3.4.3: If-else expression: Operator chaining. Variable user_grade is read from input. Use operator chaining to complete the if-else expression as follows: *

solve

CHALLENGE ACTIVITY 3.4.3: If-else expression: Operator chaining. Variable user_grade is read from input. Use operator chaining to complete the if-else expression as follows: * If the value of user grade is between 9 and 12 (both inclusive), then 'in high school" is output * Otherwise, "not in high school" is output. Ex 1: lf the input is 10, then the output is: in high school Ex 2: If the input is 8, then the output is not in high school Note: user_grade is between 9 and 12 (both inclusive) when 9 is less than or equal to user_grade, and user_grade is less than or equal to 12. Learn how our autograder works passed 1 user_grade = int(input()) 2 Ttest 3 if '"' Your solution goes here '"': passed 4 print("in high school') 5 else: ets 6 print( 'not in high school") Feedback

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!