We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

lycoro • 3 years ago

def count_all_stars(galaxies):
total_stars = 0
for stars in galaxies:
total_stars += stars # fix me!
return total_stars

Mohsin67 • 2 years ago

def count_all_stars(galaxies):
total_stars = 0
for stars in galaxies:
total_stars += stars # fix me!
return total_stars
galaxies = [37, 3, 0]
print(count_all_stars(galaxies))

Stepan0806 • 2 years ago

count_all_stars = sum

Anonymous • 3 years ago

I'm a beginner, need help.

Thore • 3 years ago
Anonymous • 3 years ago

me to

Anonymous • 3 years ago

Need help

Supreme916 • 3 years ago

use accumulate command