Posts by GMMS • 1 point
1 post
-
0
votes3
answers1806
viewsA: Add the first "n" elements of a Python geometric progression
I’m studying Python and programming a few weeks, but I tried to come up with a solution. I don’t know if it’s the best code, but it works. n = int(input("Informe quantos elementos irá somar na PG:…