Keywords = 'not' Flashcards

1
Q

lst = []
if lst == Flase:

What is a simplified way to write this “if” statement

A

if not lst

How well did you know this?
1
Not at all
2
3
4
5
Perfectly