Python repr

Publicado em: 20 Maio 2023
no canal de: Jakubication
118
3

The repr function is a function you can define in your classes to return unambiguous representations of your object as a string. For example, a Person object's repr function might return the Person as "Person('Bob')". This unambiguously shows you that it is a person object. repr is one of Python's 71 built-in functions. Python beginners should watch this video.

Subscribe If You Enjoyed :)

Previous Function To Learn (range):    • Python range Function | Mastering Range fo...  
Next Function To Learn (reversed):    • reversed in Python | Mastering Beginner's ...  


To learn more about the built-in functions available to you in Python, check out this playlist:    • Python: Built-in Functions  

#codingforbeginners #programmingbasics #pythontutorial #python


Nesta página do site você pode assistir ao vídeo on-line Python repr duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Jakubication 20 Maio 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 118 vezes e gostou 3 espectadores. Boa visualização!