Dec-11-2017, 09:35 PM
In python, when you declare a variable in a function, it is only available in this function. So planet is only available in ask_planet() and disappears as soon as the function ends, unless you declare the variable as a global one.