text_plain_output_1.png
def upper_count(name):
    count = 0
    for i in name:
        if i.isupper():
            count = count + 1
    return count

def avg(*marks):
    count, total = (0, 0)
    for i in marks:
        total = total + i
        count = count + 1
    return total / count

a = avg(45, 43, 35, 67)
print(a)