in my project i need to multiply a int variable into a float varriable,but it dose’nt work
the code in below
radius=raw_input("Enter the Radius of the circle")
Area = 3.14*radius*radius
in my project i need to multiply a int variable into a float varriable,but it dose’nt work
the code in below
radius=raw_input("Enter the Radius of the circle")
Area = 3.14*radius*radius
you let the user enter the radius, but as what data type does raw_input store the entered data?
i can’t understand how i change that will you help me as re wright the code for me
that is not the answer to my question, what data type is the radius
variable? Is it the right data type? If not, to what data type do we need to convert it to?
thank you i got idea