Skip to content

Commit 0c0bd27

Browse files
authored
Create unit4_ex4.3.1.py
1 parent a14895f commit 0c0bd27

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

unit4_ex4.3.1.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# exercise 4.3.1 from unit 4
2+
'''
3+
What things does a generator expression not allow to be use? Mark all the correct answers.
4+
'''
5+
6+
# Answer:
7+
# 1. accept arguments to it
8+
# 2. Wrapping a piece of code in a try-except block
9+
# 3. Combining a while loop
10+
# 4. Multiple use

0 commit comments

Comments
 (0)