Posts by Ronaldo Terranova • 1 point
1 post
-
-1
votes4
answers1471
viewsA: Generate random numbers and add them up
import random n = 2 total = (random.randint(1, 100), n) a=str(total).split(",")[0].split("(")[1] b=str(total).split(",")[1].split(")")[0] soma=int(a) + int(b) print soma…
pythonanswered Ronaldo Terranova 1