Interview question
What is Python and what are its key features? Python क्या है और इसकी key features क्या हैं?
Answer
Python is a high-level, interpreted, dynamically-typed programming language known for readable syntax and a huge standard library.
| Feature | Meaning |
|---|---|
| Interpreted | Code runs line by line via the Python interpreter, no separate compile step |
| Dynamically typed | Variable types are determined at runtime, not declared upfront |
| Multi-paradigm | Supports procedural, object-oriented, and functional styles |
| Extensive standard library | 'Batteries included' - modules for files, networking, JSON, etc. |
x = 5 # int, type inferred
x = 'hello' # same variable can be reassigned to a different type
print(type(x)) # <class 'str'>Python एक high-level, interpreted, dynamically-typed language है जो readable syntax और बड़ी standard library के लिए जाना जाता है।
| Feature | अर्थ |
|---|---|
| Interpreted | Code line-by-line चलता है, अलग compile step नहीं |
| Dynamically typed | Variable types runtime पर तय होते हैं |
| Multi-paradigm | Procedural, OOP, functional styles support |
x = 5
x = 'hello'
print(type(x)) # <class 'str'>Was this answer clear?