prediction the output code
num=int(input(“Enter a number”))
n1=num%10
n2=num//10
if n1== n2:
print(“Hello”)
elif n1>n2:
print(“Good Bye”)
else:
print(“Hi”)
Answers
Answered by
2
Answer:
Example : Lets Take The Number "5"
n1 = 5%10 = 2
n2= 5/10 = 2
OUTPUT : Hello
Similar questions