Which type of programming does python support?
A) Only procedural programming
B) Only object-oriented programming
C) Both procedural and object-oriented programming
D) Neither procedural nor object-oriented programming
Answer:
C) Both procedural and object-oriented programming
Explanation:
Python is a versatile programming language that supports both procedural and object-oriented programming paradigms. Programmers can choose to write code in a procedural style or utilize object-oriented principles as needed, making Python suitable for a wide range of applications and programming styles.