🔧 Python & Data Structures Part 2: type() Keyword
Nachrichtenbereich: 🔧 Programmierung
🔗 Quelle: dev.to
Today's short lesson is about type() function in Python
the type() is a built-in function in Python that returns the type of an object.
Here are some example of how the type() function works:
`type(5)
<class 'int'>
type("Anthony")
<class 'str'>
type({age:10})
<class 'dict'>
The purpose is to return the type of an object
Stay tune for Part 3 Coming Soon!
...
🔧 Data Structures and Algorithms (Part 1)
📈 22.54 Punkte
🔧 Programmierung
🔧 Data Structures and Algorithms (Part 3)
📈 22.54 Punkte
🔧 Programmierung
🔧 Data Structures and Algorithms (Part 4)
📈 22.54 Punkte
🔧 Programmierung
🔧 Data Structures and Algorithms (Part 5)
📈 22.54 Punkte
🔧 Programmierung
🔧 Data Structures in Python
📈 22.01 Punkte
🔧 Programmierung
🔧 Introduction to Data Structures in Python
📈 22.01 Punkte
🔧 Programmierung