0

Why we use oops in python rather than any function ?

31st Jul 2025, 3:17 AM
Amritpal Singh
Amritpal Singh - avatar
4 Respuestas
0
well, you can use functions, for ex: func test() print("Hello") test()
31st Jul 2025, 5:52 AM
Ashton Hively
Ashton Hively - avatar
0
sorry, def not func
31st Jul 2025, 5:54 AM
Ashton Hively
Ashton Hively - avatar
0
got my languages mixed up
31st Jul 2025, 5:54 AM
Ashton Hively
Ashton Hively - avatar
0
Python is a multi-paradigm programming language. You can use OOP, functional, or imperative styles. It depends on your preference and what's best for the problem you're trying to solve.
31st Jul 2025, 9:51 PM
Bob_Li
Bob_Li - avatar