Answers for "how to list more than 1 condition in an if statement python"

1

how to list more than 1 condition in an if statement python

bool = True
str = 'Helo'
int = 9
if bool == True and str == 'Helo':
  print('Hello World')
if bool == False or int == 9:
  print('Success')
Posted by: Guest on March-07-2020

Code answers related to "how to list more than 1 condition in an if statement python"

Python Answers by Framework

Browse Popular Code Answers by Language