Skip to content

Commit 93e0dfb

Browse files
committedJun 26, 2023
closes #190
1 parent 4b7f40e commit 93e0dfb

File tree

1 file changed

+1
-1
lines changed
  • Condition expressions/If statement

1 file changed

+1
-1
lines changed
 

Diff for: ‎Condition expressions/If statement/task.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ If you have only one statement to execute, you can put it on the same line as th
2626
if a > b: print("a is greater than b")
2727
```
2828

29-
Print `"empty"` if the `tasks` list is empty.
29+
Print `"Not an empty list!"` if the `tasks` list is not empty.
3030
After the list is cleared, check again (you might need a different condition!) and print `'Now empty!'` if it is.
3131

3232
<div class='hint'>Use the <code>len()</code> function to check if <code>tasks</code> is empty.</div>

0 commit comments

Comments
 (0)
Please sign in to comment.