Nov-22-2023, 12:27 PM
At the end of the ultra() function add:
return distanceWhen calling the function:
distance = ultra()This will make the distance available as a global variable in the module.