Anyone Can Code.
The 'None' data type is used to define something which has no value at all. It is not the same as 0, False, or an empty string. It is its own data type.
None is used to keep a variable empty with no particular data type. You can change the value of a variable later.
x = none print(x)
None
Let's see how we can change the value of x.
x = none print(x) x = 5 print(x)
None 5
That's it for this tutorial! Click Next to access the next tutorial!
This site uses cookies to improve your experience as well as for site metrics. To see more, check out our Privacy Policy