Python Basic Tutorials

Python is a high level general purpose programming language which has a clear/easy learning curve. Python programming language is massively used in various domains like Artificial Intelligence, Data Science, Web Development, Utilities Tools and Scripts and many more

Python is a Programming language, and the default Python we use is written in C programming language which is also referred to as CPython (Python implementation in C). There are various implementation of Python Programming language i.e Jython(in JAVA), Skulpt(in JS) e.t.c

To make everything easy: We refer CPython as Python

Python None Datatype

None datatypes in python are to represent nothing, empty or null. None is not the same as 0, False, or an empty string. None is a data type of its own (NoneType) and only None can be None.


x=None
if x is None:
    print("x is None")
else:
    print("x is not None")
Output

x is None
Checking none's type

>>>x=None
>>>type(x)
   <class 'Nonetype'>