Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 507b715

Browse files
committed
Add comment to map syntax
1 parent bd55f83 commit 507b715

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

11_bottles_of_beer/bottles.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ def main():
7979
#for i in num_list:
8080
# print(verse(i) + ('\n' if i > 1 else ''))
8181

82+
# String joins the result of applying verse to the range
8283
print('\n\n'.join(map(verse,range(args.num, 0, -1))))
8384

8485

0 commit comments

Comments
 (0)