Because when python divide value by zero, the name of the error is “division by zero” where as when divide float by zero, the output is “float divided by zero”
for example
“3/0” > “division by zero” error
“1.5/0” > “float division by zero” error
“0/0” > “division by zero” error