Skip to content

Commit 2ddeba9

Browse files
authored
Update README.md
1 parent bf6d3b6 commit 2ddeba9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/39-class-that-iterates/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
## 📝 Instructions:
44

5-
1. Define a class with a generator that can iterate the numbers that are divisible by 7, between a given range `0` and `n`.
5+
1. Define a class with a generator function that can iterate the numbers that are divisible by 7, between a given range `0` and `n`.
66

77
## 💡 Hint:
88

9-
+ Consider using `yield`.
9+
+ Read about generator functions and `yield`: https://sentry.io/answers/python-yield-keyword/

0 commit comments

Comments
 (0)