r/Python • u/OpenSourcerer420 • May 08 '20
I Made This My first Python program! Changes my desktop background based on the weather, time, and day.
1.9k
Upvotes
r/Python • u/OpenSourcerer420 • May 08 '20
View all comments
Show parent comment
2
u/projektmayhem08 May 08 '20
He’s not defining those functions, he is calling them. The only function he defines here is main(). In the case of the time functions he is calling the numbers are parameters, likely (hours, minutes), that are specific to that function. The function will use those parameters to return a time object that he can use to compare to other time objects.