0
What is the difference between / and // in operators???
Pls explain briefly
3 Answers
+ 5
5/2 == 2.5 # type float
5//2 == 2 # no decimals, type int
+ 2
Thank you
+ 2
/ produces a float
// produces floor division if I'm not mistaken
Pls explain briefly