N
Q. What will be the output of the following Python code?
class tester: def __init__(self, id): self.id = str(id) id="224" >>>temp = tester(12) >>>print(temp.id)
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 output of the following program : print 'cd'.partition('cd')
Q. What will be the output of the following code?
Q. If str1="Programming Language" What does str1.find("m") return?
Q. What is the output of the following? x = ['ab', 'cd'] print(len(list(map(list, x))))
Q. Predict the output of following python programs
Q. Which of these are keyword?
Q. What will be the output of the following program on execution?
Q. What will be the output of the following Python code?
Q. Which of the following operators has its associativity from right to left?
Discusssion
Login to discuss.