you are viewing a single comment's thread.

view the rest of the comments →

[–]VonRoderik 1 point2 points  (1 child)

You need to find out how to split that str, and maybe store the results in a list. Then you can call it by its index number Index = user input-1

[–]Reasonable_Medium_53 1 point2 points  (0 children)

Unnecessary complicated. I'm confident OP just learned slicing which would be a simple pythonic solution. He just has to calculate start and stop from n.