R
Q. Study the following program:
1. class book: 2. def __init__(a, b): 3. a.o1 = b 4. class child(book): 5. def __init__(a, b): 6. a.o2 = b 7. obj = page(32) 8. print “%d %d” % (obj.o1, obj.o2)
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. What will be the output of the following code snippet?
Q. What is the output of the following program :
Q. What will the following Python code output: print(type(3.14))?
Q. What is the output of the following program?
Q. What does the following code do?
Q. By which program python was interpreted?
Q. Which of the following is True regarding loops in Python?
Q. Which of these is not a core data type in python
Q. Which of the following is NOT a valid typecode for Python array?
Discusssion
Login to discuss.