Python null Function

Python use None to represent null, or "Noneness".

>>> x = None #x = null
>>> x is None
True
>>> x = None
>>> for x in range(1,5):
>>> print(x)
1
2
3
4
String can be represented by "":
>>> x = ""

















endmemo.com © 2024  | Terms of Use | Privacy | Home