Q1. What kind of data does the input()
function return?
Q2. What does the int()
function do?
Q3. How is the float()
function different from the int()
function?
float()
function deals with strings onlyfloat()
function converts data into floating point numbers onlyfloat()
converts words into numbersQ4. If you make a function called addition()
in your Python shell, how do you run that addition function to test it?
addition()
in your Python shelladdition()
in your Python shell18.190.159.10