@wasiya2815/

numbers

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Total=0
number=0
highest=0
num=0
while(num!=-1):
  num=int(input())
  Total=Total+num
  number=number+1
  if num>highest:
   highest=num

average=Total/number
print("average value of num",average)
print("highest",highest)