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

5th Apr 2018, 7:21 PM
Sankalp Boradkar
Sankalp Boradkar - avatar
2 Answers
0
how
5th Apr 2018, 7:26 PM
Sankalp Boradkar
Sankalp Boradkar - avatar
0
for integer division, there is a floor division operation in Python: 6//3 = 2 7//3 = 2
6th Apr 2018, 4:58 AM
Amaras A
Amaras A - avatar