- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
def razmer(arr):
b = len (arr) - 1
return (array_prov(arr,b))
def array_prov (arr,b):
if b == 0:
return arr[b]
else:
return (arr[b]+array_prov (arr, b-1))
a = [10,12,14,15,18]
print (razmer (a))
guest6 12.03.2024 18:21 # 0