Untitled

 avatar
unknown
python
a year ago
255 B
3
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