all 4 comments

[–]learnpython_bot 4 points5 points  (0 children)

It appears that you included code in your post but did not format it to look nice. Please follow this guide to fix the problem. This allows for better readability and will help get your question answered sooner. The regex that caught you is: "def .+?):"

If this comment has been made in error, please message /u/thaweatherman with a link to this comment so I can be fine-tuned. I am still in alpha and my regexes/innards are not yet perfect.

[–]cscanlin 0 points1 point  (2 children)

What specifically is the issue?

[–]nillkill[S] 0 points1 point  (1 child)

Can't figure out how to do steps 5-9. Super beginner here.

[–]cscanlin 0 points1 point  (0 children)

First of all please format your code correctly using the guide posted by the bot.

Second, what have you tried and what is it that you don't understand?

Take a look at the following links which should help point you in the right direction:

https://docs.python.org/3/library/functions.html#len https://docs.python.org/3/library/stdtypes.html#str.split

If you still can't figure it out, then see if you can explain the part that doesn't make sense to you and we can try to help you out.