Explanation: execute in the shell objects cannot have same id, however in the case of strings its different.
Q. print(id(s1) == id(s2))
β
Correct Answer: (C)
false true
Explanation by: Mr. Dubey
execute in the shell objects cannot have same id, however in the case of strings its different.
Discussion
Question Analytics
250
Total Visits
2 y ago
Published
Mr. Dubey
Publisher
90%
Success Rate