Untitled
unknown
python
2 years ago
255 B
5
Indexable
if __name__ == '__main__':
n = int(input("Podaj ile liczb będziesz wprowadzał: "))
suma = 0
for i in range(n):
liczba = int(input("Podaj liczbę: "))
suma += liczba
print(f'Suma podanych liczb wynosi: {suma}')
Editor is loading...
Leave a Comment