Keywords = 'not' Flashcards
(1 cards)
1
Q
lst = []
What is a simplified way to write the “if” statement below
if lst == False:
A
if not lst
lst = []
What is a simplified way to write the “if” statement below
if lst == False:
if not lst