Created
July 28, 2021 03:35
-
-
Save sibil/4aae59ac2607c7f5860aae8224a79e09 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#This is a list with three names. | |
numbers = [10, 20, 50] | |
result = 0 | |
for number in numbers: | |
result = result + number | |
print("Result " + str(result) + " number:" + str(number)) | |
print("Sum is:" + str(result)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment