March 2022 1 4 Report
Napisz program (Python) wykonujący następujące operacje (n jest liczbą naturalną większą od 0)
a) wyświetlanie n-elementowego ciągu liczb całkowitych (2, 6, 18, 54, 162...) ,
b) obliczanie sumy n-elementowego ciągu liczb całkowitych (-4, 1, 6, 11, 16...) ,
c) obliczanie iloczynu n-elementowego ciągu liczb całkowitych (-1, 2, -4, 8, -16, 32...).

Recommend Questions



Life Enjoy

" Life is not a problem to be solved but a reality to be experienced! "

Get in touch

Social

© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.