• + 3 comments

    I tried this method, but I get the following error. Do, I need to import some module?

    Traceback (most recent call last):
    File "solution.py", line 4, in <module>
        marksheet = [[input(), float(input())] for _ in range(n)]
    File "<string>", line 1, in <module>
    NameError: name 'Harry' is not defined