Question: CHALLENGE ACTIVITY 4.2.2: Boolean operators: Combining test conditions. Write an expression using Boolean operators that prints Eligible if user_age is greater than 17 and not
CHALLENGE ACTIVITY 4.2.2: Boolean operators: Combining test conditions. Write an expression using Boolean operators that prints "Eligible if user_age is greater than 17 and not equal to 25. Sample output with input: 17 Ineligible 1 user_age - int(input) D! : 3 if your solution goes here 4 print('Eligible') 5 else: 6 print Ineligible')
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
