#NoPayJan Offer - Access all CloudxLab Courses for free between 1st to 31st JanEnroll Now >>
We can also use certain built-in functions to convert one data type to another. For eg,
int - It takes any value and converts it to an integer, if it can, or returns the error.
It returns 23. Try converting the string "cloudxlab" to int and see the result.
float - It converts integers and strings to floating-point numbers.
It returns 2.0
str - It converts its argument to a string
It returns '123'
8.9and store it in the variable
square_areainto int and store it in
square_area_intinto str and store it in
You can use the print function to see the values of your variables.
No hints are availble for this assesment
Answer is not availble for this assesment
Note - Having trouble with the assessment engine? Follow the steps listed here