J'obtiens cette erreur en essayant d'étudier pour un examen final à venir et j'ai besoin de comprendre pourquoi cela ne fonctionne pas. Voici le code.
morning_agenda = "At 9.00AM the project team will assemble. The first topic will be fixing the bug in program product.py. We'll break for coffee at 10.30. Work will then continue on improving display.html until 12.30PM."
print morning_agenda
morning_agenda.sub('([0-9]+)\.([0-9]+)', r'\1:\2', morning_agenda)
print morning_agenda