Asked him to pick a number in between 1 and 10. If the number is entered more 10 then print a message
"You are Wrong"
!!!Happy Counting!!!.
If the given number is less then 10 then print a message
You
are
right
And if the given number is euqal to 10 then print \You are correct\.
Answers
Answered by
0
Answer:
Here is your answer in Python....
x = int(input("Enter a number between 1 to 10: "))
if x > 10:
print("You are wrong")
elif x<10:
print("You are right")
else:
print("You are correct")
#Hope it helps!!
Similar questions