Python repr

Pubblicato il: 20 maggio 2023
sul canale di: 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


In questa pagina del sito puoi guardare il video online Python repr della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Jakubication 20 maggio 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 118 volte e gli è piaciuto 3 spettatori. Buona visione!