6 Réponses
+ 3
N=int(input("how many inputs?"))
List=[]
for i in range(N):
List.append(int(input("enter the mumber:")))
print(max(List), min(List), sum(List)/N)
+ 5
# Enter integers separated by spaces.
nums = [int(i) for i in input().split()]
print("highest:", max(nums))
print("lowest:", min(nums))
print("average:", sum(nums)/len(nums))
print("median:", sorted(nums)[len(nums)//2])
https://code.sololearn.com/cVKjtQ9Su3lB
+ 1
Your attempts ?
+ 1
i can calculate 2 or 5 or 10 numbers ! But i have Problem With n numbers
+ 1
Show us the code please, not just the method.
0
فارسی بنویس انگلیسی خوب ننوشتی