Question: Variables defined: a = 100 b = 50 I need Python statement that uses the ternary operator to assign the smaller of a and b
Variables defined:
a = 100
b = 50
I need Python statement that uses the ternary operator to assign the smaller of a and b to variable n.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
