May 2022 1 12 Report
Czy podany program w Pythonie jest poprawnie napisany?
Wyznacza on wartości wielomianu za pomocą schematu Hornera.

def oblicz (A, n, x)

w=A[0]
for i in range (1,n+1)

w=w*x+A[i]

return w

print (wynik=, oblicz ([2,4,-3,7],3,3)

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.