Python Interview Questions Tutorial
Python Interview Questions for Beginners
Q. What is Python?
A. Python is a high-level, interpreted, general-purpose programming language.
Q. What is a dynamically typed language?
A. Typing refers to type-checking in programming languages. In a strongly-typed language, such as Python, "1" + 2 will result in a type error, since these languages don't allow for "type-coercion" (implicit conversion of data types). On the other hand, a weakly-typed language, such as Javascript, will simply output "12" as result. Strongly typed languages are of two types:
1- Static - data types are checked before execution.
2- Dynamic - data types are checked during execution.