import random


def avg(nums):
    total = 0
    for num in nums:
        total += num
    return total / len(nums)


rand_nums = [random.randint(0, 255) for i in range(50)]
print(rand_nums)
print(min(rand_nums))
print(max(rand_nums))
print(avg(rand_nums))

248099d6cdac0d95e7edcce450dc92309533a028
<mask token>

<mask token>


def avg(nums):
    total = 0
    for num in nums:
        total += num
    return total / len(nums)


<mask token>
print(rand_nums)
print(min(rand_nums))
print(max(rand_nums))
print(avg(rand_nums))

<mask token>


def avg(nums):
    total = 0
    for num in nums:
        total += num
    return total / len(nums)


rand_nums = [random.randint(0, 255) for i in range(50)]
print(rand_nums)
print(min(rand_nums))
print(max(rand_nums))
print(avg(rand_nums))

import random


def avg(nums):
    total = 0
    for num in nums:
        total += num
    return total / len(nums)


rand_nums = [random.randint(0, 255) for i in range(50)]
print(rand_nums)
print(min(rand_nums))
print(max(rand_nums))
print(avg(rand_nums))
