Skip to content

Commit 4f32a10

Browse files
authored
Update Summerof'69.py
1 parent c7a43ad commit 4f32a10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Summerof'69.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""SUMMER OF '69:
22
Return the sum of the numbers in the array, except ignore sections of numbers starting with a 6 and extending to the next 9 (every 6 will be followed by at least one 9). Return 0 for no numbers.
3+
(Also one of my fav songs from Bryan Adams!)
34
45
summer_69([1, 3, 5]) --> 9
56
summer_69([4, 5, 6, 7, 8, 9]) --> 9

0 commit comments

Comments
 (0)