Contact: aviboots(AT)netvision.net.il
43,904 questions
57,301 answers
573 users
x = 12 if not x > 20: print("x < 20") ''' run: x < 20 '''
lst = [] if not lst: print("List empty") ''' run: List empty '''
lst = [1, 2, 3, 7, 8] if not 5 in lst: print("not 5 in lst") else: print("5 in lst") ''' run: not 5 in lst '''