⊗pyPmBsNnV 29 of 208 menu

None value in Python

Python has another special value, None, which means "nothing". For example, we can assign this value to a variable to indicate that there is nothing there.

Let's look at an example:

test = None print(test) # None

Assign the variable the value None. Print this variable to the console.

enru