+ 2
From python 3.x onwards, any division automatically converts the result into float type. In this case, the result 5 which is of int type, gets automatically converted to float type i.e 5.0.
1st Sep 2016, 5:19 PM
Simran Madhok