M
Modular•15mo ago
aviral shastri

how to use modulus in mojo

i am back with another question how can i use moduls operator in mojo like in python we use 4%2 and output is 0.
2 Replies
Jack Clayton
Jack Clayton•15mo ago
Full support for modulus operator, works the same as Python and you can define it yourself on your own types just like Python 🙂
aviral shastri
aviral shastriOP•15mo ago
ok i checked and now it works thanks
Want results from more Discord servers?
Add your server