Light Mode
Dark Mode
Funny : assert is OK can't go to next mission

Hello all !

I had a funny bug with my code below It validates the asserts and the mission (message displayed 'The mission is done!), but I can't go to the next mission

def correct_sentence(text: str) -> str: # your code here if text [-1] != '.' : text = text + '.' return text.capitalize()

I read in previous topic this can be related to the use of .capitalize() ^^

  • bug
Created: March 10, 2026, 1:58 p.m.
Updated: March 11, 2026, 12:03 p.m.
0
6
User avatar
WallooBZH