How to convert python int to float ?

Convert python int to float :Python’s command to convert an int to float is float(data)# Python program to convert an integer to float n1=-5 #integer n2=3 # integer n3=100 #integer print(float(n1), "is a float") print(float(n2),"is a float") print(float(n3), "is a…

This Question has been answered. 

Please Login or Register to See The Answer