@TaylorLiang What do you suggest as an alternative? If a variable is necessary in multiple functions, it can't just sit there and remain local. That'll cause an error itself.
Profile icon
[deleted]
@Knecinedit make it a perameter in the function
so main(time, x1,x2,x3, *etc)
Profile icon
[deleted]
@TaylorLiang if you have lots of parameters, that can serve the same purpose within the function, it would make more sense to list it as an *args. Just a tip. Don't know if it applies here though.
Timer
Timer that tracks time in seconds, minutes, hours, days, and weeks.
why are there globals?
so main(time, x1,x2,x3, *etc)