Python - None (Null)

> Procedural Languages > Python > Python - Data Type

Table of Contents

2 - Example

var = None
 
if var is None:
            print('None')
 
if var is not None:
            print('Not None')