I'm not able to retrieve the value defined in the function. It's failing. Have I missed something? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

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)

25th Sep 2018, 6:55 AM
Sindhura Sweety
Sindhura Sweety - avatar
0 Resposta