Answers for "python best way to write complex if and else statements"

0

if statements equals same value python

if min(A, B, C, D) >= 2:
    print A, B, C, D
Posted by: Guest on May-04-2020
0

python if

def e(x):
	if x == "Sunny" and x == "sunny":
  		print('Remember your sunglasses!')
	elif x == "Rainy" and x == "rainy":
  		print('Do not forget your umbrella!')
	elif x == 'Thunderstorm' or x == 'thunderstorm' or x =='Stormy' or x == 'stormy':
      print('Stay Home!')
    
x = input('What is the weather?')
Posted by: Guest on October-02-2020

Code answers related to "python best way to write complex if and else statements"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language