hello_world
This commit is contained in:
8
hello_world.py
Normal file
8
hello_world.py
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user