#模块
'''
include tow functions
the first function is used to find the max number in the list
the second function is used to calculate the average of a set of numbers
'''
import random
def findMax(lst):
    maxx=-100000
    for i in lst:
        if i > maxx :
            maxx=i
    return maxx
def getavg(lst):
    n=len(lst)
    sum5=0;
    for i in lst:
        sum5+=int(i)
    avg=sum5/n
    return avg
#调用
#调用模块
import Yocen
import random
lst=[]
for i in range(101):
    lst.append((random.random()+i*i)%5*i)
max11=Yocen.findMax(lst)
avg=Yocen.getavg(lst)
print("The max number is :",max11)
print("The average is :",avg)