What will be the output of the python code given below?
x = "quizall"
y = "quizall"
if id(x) == id(y):
print("same")
else:
print("not same")
1
same
2
not same
3
Error
4
None of the above
What will be the output of the python code given below?
x = "quizall"
y = "quizall"
if id(x) == id(y):
print("same")
else:
print("not same")