Skip to content

Commit a6a6771

Browse files
author
Karandeep Grover
committed
renamed
1 parent 8d2e7c9 commit a6a6771

3 files changed

Lines changed: 11 additions & 9 deletions

File tree

File renamed without changes.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
def next_square():
2+
i = 1
3+
while True:
4+
yield i * i
5+
i += 1
6+
7+
8+
for n in next_square():
9+
if n > 25:
10+
break
11+
print(n)

Basics/Hindi/21_genrators/21_genrators.py

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)