0
What is meaning of// symbol can any one explain?
3 ответов
+ 1
When you take for example 17 // 2 you get 8 because two fits in seventeen eight times. You can get the remainder with 17 % 2.
0
It does NOT create a "comment" in the code, that's the symbol for comments in other programming languages, but not Python.
It does division, but it drops the remainder. so 2//3 isn't 0.6666, it's just 0. 5//2 is 2, but 5/2 is 2.5
- 1
// use for comment
Which not included by preprocessor