LearnDay 1 of 100
Python foundations
Work through your lesson, then make the idea your own. Your place in the programme stays with you.
Continue studying Your lessonIllustrative Python example
revenue = [120, 180, 240]
total = sum(revenue)
print(total) # 540
