a,b = 5,10ï»ż if a>=b:ï»ż print(a*b)ï»ż elif b>=a:ï»ż print(b-a)ï»ż else:ï»ż print(a-b)ï»ż
Learn more efficiently, for free:
Introduction to Python
7.1M learners
Introduction to Java
4.7M learners
Introduction to C
1.5M learners
Introduction to HTML
7.5M learners