problem in formatting decimal places python

if __name__ == '__main__':

    n = int(input())
    student_marks = {}
    for _ in range(n):
        name, *line = input().split()
        scores = list(map(float, line))
        student_marks[name] = scores
    query_name = input()
    if query_name == name:  
        print("{:.2f}".format(sum(scores)/len(scores)))

I want the result to be show in 2 decimal places such as 56.00