[Python] two different string object with same value in python [duplicate]

Discussão em 'Python' iniciado por Stack, Julho 19, 2025.

  1. Stack

    Stack Membro Participativo

    Let me have a string object a="ABC". Now I want to create a different object b="ABC" having both id(a) and id(b) separate. Is it possible in python?

    Continue reading...

Compartilhe esta Página