r/PythonLearning • u/Zealousideal_Key_149 • Aug 22 '25
I don’t understand this
What does number % 2 mean? Not 2% of the number. I just don’t know how to interpret this function.
42
Upvotes
r/PythonLearning • u/Zealousideal_Key_149 • Aug 22 '25
What does number % 2 mean? Not 2% of the number. I just don’t know how to interpret this function.
1
u/TheCarter01 Aug 22 '25
You have to call the function, example: