0

Hi everyone it's been almost a year since I gave up programing in python so I have forgotten a lot of things, so just bare with me. Ok so I was playing around with python and ended up with this little program.

```
def test():
number = input("Number: ")
scale = range(1, number+1)
for count in scale:
print (count) * 20
```

Ok so what this program does is it ask you for a number, then it makes a scale from one to whatever number you type in. Then it multiply's every single number in the scale by 20(randomly picked) and gives and output. That works perfectly now what I want to know is if there is a way to add up all the results and get one final answer. Thank you in advance for taking your time to read this:)