πŸ“Š Problem Solving and Python Programming
Q. print(id(s1) == id(s2))
  • (A) true false
  • (B) true true
  • (C) false true
  • (D) false false
πŸ’¬ Discuss
βœ… Correct Answer: (C) false true

Explanation: execute in the shell objects cannot have same id, however in the case of strings its different.


Explanation by: Mr. Dubey
execute in the shell objects cannot have same id, however in the case of strings its different.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
258
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
81%
Success Rate