Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
AidanBaird authored Jun 17, 2022
1 parent 59c1102 commit db6591f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Reduce_and_grow_kyu8.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Create a variable to return later, making sure it's an int and can be used in the later equation
# A for loop that will go through each number and then times the num in the arr and times them all seperately

def grow(arr):
number = 1
for num in arr:
number = number * num
return number

0 comments on commit db6591f

Please sign in to comment.