Q1. What do you mean by comment in python?
Q2. A comment in python starts with __________ symbol.
Q3. Is python a case sensitive?
Q4. What do you mean by dynamic typing?
Q5. Define the following term
- Token
- Keyword
- String
- Operators
- int() function
- type() function
- eval() function
- input() function.
Q6. Precision of _________ digits in floating point numbers in python.
Q7. input() function always return a value of __________ type.
Q8. Write the output of the following
>>> x , y = 3, 5
>>>x, y = y, x + 6
>>> print(x,y)
Q9. What is the extension of python file?
Q10. Find the error in the following code
def sub(n1, n2)
res = n1 - n2
return res
No comments:
Post a Comment