MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnpython/comments/1wyakx3/printing_local_variables_outside_of_a_function/pe14yyr/?context=3
r/learnpython • u/[deleted]
[deleted] — view deleted post
14 comments sorted by
View all comments
Show parent comment
3
Op, you can return a tuple (hours, minutes, seconds) , list [hours,...] or more complex structure.. Iookup python time class
https://docs.python.org/3/library/datetime.html#datetime.time
View all comments
Show parent comment
3
u/seanv507 Oct 05 '26
Op, you can return a tuple (hours, minutes, seconds) , list [hours,...] or more complex structure.. Iookup python time class
https://docs.python.org/3/library/datetime.html#datetime.time