N
N
neulwert2020-11-28 00:28:05
OOP
neulwert, 2020-11-28 00:28:05

Are data types classes in OOP?

There are various built-in functions that apply to certain types of data, such as the sort() function for lists. Can we say that data types (int, str, list, class, def...) follow the principles of OOP, where data type is a class and built-in functions are its methods? If data types and built-in functions represent the entire high-level programming language, then python was written entirely in OOP in a lower-level language?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Yakushenko, 2020-11-28
@neulwert

Yes

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question