Answer the question
In order to leave comments, you need to log in
Why doesn't the function read the entered value with input()?
Why does it throw an error here: NameError: name 'y' is not defined ?
def f():
y = input()
f()
print(y)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question