Answers for "if not working python"

1

if not python

boolean = False

if not boolean: #Boolean is false.
  print("No")
else: #Boolean is True
  print("Yes")
Posted by: Guest on December-04-2020
3

if not python

a = False
if not a:
    yourFunction()
Posted by: Guest on February-22-2020
1

python if not

today = 'Sunday'

if not today=='Sunday':
	print('Go to work.')
else:
	print('Take rest.')
Posted by: Guest on October-16-2020

Python Answers by Framework

Browse Popular Code Answers by Language