Back to search

Dynamic typing and strong typing in Python

Python is dynamically typed because types are checked at runtime, and strongly typed because values do not silently coerce across unrelated types.

Python Easy Theory

Dynamic typing and strong typing in Python

Python is dynamically typed because types are checked at runtime, and strongly typed because values do not silently coerce across unrelated types.

  • Names bind to objects
  • Type checks happen at runtime
  • Explicit conversion is preferred

Dynamic typing and strong typing in Python