I would like to know if it is possible to prevent an input from being printed in Python 3.
x = int(input())
def func(n):
if n%2==0:
print("Even")
else:
print("Odd")
func(x)
In the code above, for instance, if I input "236", the console prints:
236
Even
I would like the output to be just:
Even
Thanks!
I've heard this was possible in Python 2.x with the raw_input() function.