New course! Every coder should learn Generative AI!
Try a free lesson0
I'm not able to retrieve the value defined in the function. It's failing. Have I missed something?
def my_func(): x = 10 my_func() y=x print(y)
0 Answers
def my_func(): x = 10 my_func() y=x print(y)