Q1. What is the difference between eval() and int() function?
Q2. What do you mean by function?
Q3.Write the output of the following
>>>eval('15')
>>>eval("6")
>>>eval(7)
>>>eval("5 + 8 * 6)
Q4. def command is used to define a function or to call a function.
Q5. Write a user defined function to find the area of rectangle.
Q6. Wrie a user defined function to print "Hello" five times.
Q7. Write a user defined function to find the area of cube.
Q8. All statements in python are terminated by semicolon.(T/F)
Q9. How many spaces are there in one indentation level?
Q10. In python one line can be of maximum ___________ characters.
Great work
ReplyDeleteThanks for your appreciation
Delete