Please ignore secret bonuses. Secret tests do NOT award bonus. Max hw grade is 30+2 bonus efficiency

Do you need help?

Notice Board

Per partecipare al corso di Fondamenti di programmazione 2023-24 loggatevi e attivatelo nella vostra pagina dei corsi preferiti. A quel punto il corso appare nel menù personale cliccando sul proprio avatar. Per i materiali degli anni precedenti seguite lo stesso metodo.

To join the Programming/Lab 2023-24 course, log-on and select it on the my courses page. It will appear on the personal menu of your avatar. For earlier years use the same method.

Errore improvviso nei test dell'HW4

A
AlessandroBonanni (700 points)
3 6 9
in HW4 by (700 points)
recategorized by
Stavo cercando di migliorare il mio codice e improvvisamente ottengo questo errore:

Non uso la libreria re non faccio import re

..\..\..\anaconda3\lib\site-packages\pyreadline\py3k_compat.py:8
  C:\Users\alessandrobonanni\anaconda3\lib\site-packages\pyreadline\py3k_compat.py:8: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
    return isinstance(x, collections.Callable)

..\..\..\anaconda3\lib\site-packages\win32\lib\pywintypes.py:2
  C:\Users\alessandrobonanni\anaconda3\lib\site-packages\win32\lib\pywintypes.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    import imp, sys, os

-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================================================= short test summary info =========================================================================
FAILED test_01.py::Test::test_example_0 - testlib.ForbiddenError: The import of 're' is forbidden
191 views
closed with the note: Solved