diff --git a/hello_world.py b/hello_world.py new file mode 100644 index 0000000..73b91d8 --- /dev/null +++ b/hello_world.py @@ -0,0 +1,8 @@ +print("Hello World") + +#Function that takes in a list of numbers and returns the sum of all numbers +def numSum(numList): + sum = 0 + for num in numList: + sum += num + return sum \ No newline at end of file