Jun-13-2018, 04:56 PM
(Jun-13-2018, 04:42 PM)volcano63 Wrote: Assignment to "global" variables within functions does not change the variable in the outer scope - it creates new local variables with similar names.Can you give me an example please, im a noob at coding im doing this to learn python
The proper way is to pass the value to function as argument and to return value to the outer scope form your function.