-- Data Types Fundamental Datatypes -- Classes : Custom types I can create a class and name it whatever I want -- Specialized Datatypes Modules : You can think of them as extensions that you can add to the language They are not build into python, they are specialized packages . They are modules that we can use from libraries. you can create your own datatype such as superCars which you can create for yourself Specialized Datatypes They are special packages and modules from python that you can use from libraries. You can think of it as extensions that you can add to the language. This is something that we can talk about when we talk later in our course. None datatype Int and Float Data Type : Round :
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ https://www.youtube.com/watch?v=nlP5kF1_efE +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Array is a container that stores multiple values of the same type . The very key is that the array has to be of the same type. Syntax : var = array(type code, [elements]) from array import * arr = array('i', [1, 2, 3, 4, 5 ] print(arr) using Pointer Reversing the array . Append a value to an array
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 17. Learning Python Best Practices Terms Action Datatypes 19. Python Data Types These are called the fundamental data types in python int float bool str list tuple set dict Classes -- beyond the datatype we can create something called classes. Custom type . Specialized Data types -- They are not build into python . But they are special packages and modules that we can use from libraries . Whenever we do not have the data types in the standard data types and we do not want to create our own we can use the specialized datatype. We can from what we call modules. You can think of it as extensions and there is another type which is a little special called none. None : The idea of 0 , it is the absents of value, We will start with the fun...
Comments
Post a Comment