what are primitives ?
Primitives, as referenced in lecture 1, are the basic building blocks that are provided by a programming language (Python, assembler, or etc.) that we can use to build our programs. As jesse.bo notes, there are primitive data types such as integer and floating point types. There are also primitive (one might say built-in) functions like print that are useful for doing the kinds of things the language supports.
primitives are basic elements, such as lines, curves, and polygons, which you can combine to create more complex graphical images
In python there's not really any such thing as a primitive anymore. Typically the notion of a 'primitive' in high level programming languages refers to a datatype which is not technically an object or doesn't support references, methods, etc. This doesn't happen in python. Everything is an object.
Primitives are the basic facilities provided by the developers of the programming language such as primitive data types ,such data types are then used to build user defined data types in order to fulfill user's requirements. Primitives are the basic facilities provided by the developers of the programming language such as primitive data types ,such data types are then used to build user defined data types in order to fulfill user's requirements.
Join our real-time social learning platform and learn together with your friends!