-
Notifications
You must be signed in to change notification settings - Fork 0
python
Jorge Estanislao Barsoba edited this page Jul 17, 2024
·
1 revision
- Created by Guido van Rossum in 1991
- Its name comes from Monty Python
- Interpreted
- Dynamic (weak-typed), as type-checking is performed at runtime
-
Duck-typed, like JavaScript (and unlike PHP or C#), the name of the class does not determine the type of an object
If it looks like a duck, swims like a duck, and quacks like a duck, then it probably is a duck.
- Type system: TBC
- Integers (int)
- Floating point (float)
- Strings (str)
- Lists (list)
- Dictionaries (dict)
- Tuples (tup)
- Sets (set)
- Booleans (bool)