python if with "?" code example
Example 1: pythone if
a = 200
b = 33
c = 500
if a > b and c > a:
print("Both conditions are True")
Example 2: python if ?
a,b=5,7
x = a > b ? 10 : 11
a = 200
b = 33
c = 500
if a > b and c > a:
print("Both conditions are True")
a,b=5,7
x = a > b ? 10 : 11