Why does my code not return anything

You have to explicitly use the return keyword. Probably where you currently have print c.

f needs to return ba after the while loop.

Leave a Comment