¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
Global variable in python
1 Respuesta
+ 4
What is your question?
In case you are trying to use the global x inside of the function, you need to specify
global x
in the beginning of the function.