0
What does % do in python?
I have seen my professor and some of my classmates use this, but I can figure out what it is used for... Any help would be greatly appreciated 😄 thanks
3 Respostas
+ 5
It gives you remainder
https://code.sololearn.com/cp90Ey0R4lxK/?ref=app
+ 5
% can also be used for string formatting.
print("hello %s", % ("world"))