0
Keeping data type as it is on operation
How can we keep same data type if any operation is done on two int values ex. 6/3
2 Answers
0
how
0
for integer division, there is a floor division operation in Python:
6//3 = 2
7//3 = 2
How can we keep same data type if any operation is done on two int values ex. 6/3