input_data = int(input("What's your number? "))
if (input_data > 10):
print (f"{input_data} Greater than Ten")
else:
print(f"{input_data} less than Ten")
It prints:
What's your number? _____ ex:- 25
25 Greater than Ten
I would like the result to be printed above input after putting input.
First:
What's your number? _____
Then: After putting a number, it should print:
25 Greater than Ten
What's your number? _____
Is there a possibility to take input at the 10th or higher line in the console but print its value at the 1st line?