Computer Science, asked by gurpreet016, 2 days ago

how to use // in phyton?​

Answers

Answered by GAssitant
0

Answer:

It's used to floor division in python. See Below for Explanation

Explanation:

now if you divide 10/ 3 then you will get 3.333 but in floor division you will get 10//3 = 3 that is the integer part of the result. In python

a = 10//3

print(a)

OUTPUT: 3

Similar questions