bfs에서 입력값이 0 아니면 1인 경우

if x:
	print(1)
else:
	print(0)
	
#############
	
if x == 1:
	print(1)
else:
	print(0)
if not x:
	print(0)
else:
	print(1)

#############

if x == 0:
	print(0)
else:
	print(1)
if not L:
	print('List is None')

if L:
	print('List is not None')