Posts by Gonçalo Lobo • 11 points
1 post
-
0
votes4
answers1471
viewsQ: Generate random numbers and add them up
I wish I could make the script generate "n" numbers(so far everything is done as you can see in the code below) and add them up. import random n = 2 total = (random.randint(1, 100), n) print total…
pythonasked Gonçalo Lobo 11