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 is the correct extension of python file?
Q. ______ statements can be written in if block.
Q. Which of these is the definition for packages in Python?
Q. In Python, which of the following functions checks in a string that all characters are numbers?
Q. Find the output of the below code.
Q. Find out the private data field among the following:
Q. Which of the following is incorrect variable name in Python?
Discusssion
Login to discuss.