0

Create a program that show the larger number and smaller number among two numbers

num1 = int(input()) num2 = int(input()) if num1>num2: print(num1 , "is greater") else: print(num1, "is smaller") if num2>num1: print(num2 , "is greater") else: print(num2 , "is smaller")

28th Aug 2022, 4:14 PM
zeno grapher
zeno grapher - avatar
3 Antworten
0
Share your attempt?
29th Aug 2022, 10:06 AM
Jayakrishna 🇮🇳
0
num1 = int(input()) num2 = int(input()) if num1>num2: print(num1 , "is greater") else: print(num1, "is smaller") if num2>num1: print(num2 , "is greater") else: print(num2 , "is smaller")
30th Aug 2022, 5:37 AM
zeno grapher
zeno grapher - avatar
0
Here is my code
30th Aug 2022, 5:37 AM
zeno grapher
zeno grapher - avatar