ScratchData LogoScratchData
Back to jkibbe's profile

Find the of Sum of a List of Numbers

JKjkibbe•Created October 30, 2015
Find the of Sum of a List of Numbers
1
3
1260 views
View on Scratch

Instructions

To find the sum of a list of numbers, look at the scripts inside. In Python, it is easier yet, with less code overall and only one variable instead of two: nums = [1, 2, 3, 4, 5, 6, 7] sum = 0 for i in nums: sum += i print(sum) Run it here https://repl.it/BWFP

Project Details

Project ID85900780
CreatedOctober 30, 2015
Last ModifiedMay 31, 2016
SharedNovember 2, 2015
Visibilityvisible
CommentsAllowed