+ 6
Excuse me..if 5//2 why wont the result be 2.5 but 2.Srry..new to python.
5 ответов
+ 30
// is used for floor division, it'll give you the nearest whole number (floor) :)
if you want 2.5, then use 5/2
+ 17
// this means floor division suppose the number is 5.6 it will be 5 after floor division it simply is int value no fraction value will remain so if it is 5//2 then the real answer is 2.5 but it will be 2 because no fraction value 😃 hope u understand
+ 14
@shakib first of all complete the courses in here and do the challenges then if u have any problem u can ask your question 😃
+ 1
how can i imrove my skill@sam
+ 1
2|5|2
4
-----
1
............
2|5|2.5
4
-----
10
10
that's why 2