New course! Every coder should learn Generative AI!
Try a free lesson0
Should we use double slash or single slash for division operation ?
2 Answers
+ 4
In Python double slash(//) is used for obtaining integer quotient,where as single slash(/) is used for floating quotient.
https://code.sololearn.com/cJ7lQpvDP54t/?ref=app
- 1
one slash only
two slashes is considered a comment in most languages