Python bukan nol
test = "hello world"
if test is not None:
print("test is not None")
test2 = None
if test2 is None:
print("test2 is None")
DenverCoder1
test = "hello world"
if test is not None:
print("test is not None")
test2 = None
if test2 is None:
print("test2 is None")
#check is not null
if var is not None:
print('Var is not null')
strtest = "xxxxxx"
if strtest is not None:
print("strtest is not None")