if else shorthand in python

technical talkiess
0

 a = int(input("Enter the number"))

b = int(input("Enter the number"))

if a > b: print("A B se bada hai")

print("A B se bada hai") if a > b else print("b A  se bada hai")
Tags

Post a Comment

0Comments

Thanks you for commenting your questions. I will see question and respond you.

Post a Comment (0)