• + 1 comment

    This might look good instead of importing Decimal

    avg = sum(student_marks[query_name])/3
    print("%.2f" %avg)