
v0.39: Grademe is back in your terminal.
Try the CLI betaRepair the loop so it prints LIBERTY exactly n times instead of forever.
January 2022. The maintainer of colors and faker, two npm packages pulled billions of times, deliberately sabotages his own code. He ships an update with an infinite loop that spits out LIBERTY over and over then a wall of garbage, and thousands of apps that trusted those packages hang instantly. Here is the same loop: it is supposed to chant a fixed number of times, but it never stops. Make it terminate.
chant(3)Expected result
LIBERTY
LIBERTY
LIBERTYFor your own tracking. Tests grade your code.
chant(1)Expected result
LIBERTYExpected files
chant.cAllowed functions
printf