• + 0 comments

    I had some problems. I wrote the code, the program works but the page rejects it. I only found the error after an hour XD. I had written 'print' between the lines so that I could observe during the writing of the function whether everything was happening as it should XDDD

    query_name = input()
    
    query_name_score = student_marks.get(query_name)
    avarge = sum(query_name_score)/len(query_name_score)
    print(f'{avarge:.2f}')