Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Could use some comments explaining what each line is doing.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    I think it would require, at a minimum, a lot of familiarity with the built in functions and their useage. Like in this case enumerate() and .join(). Because I'm unfamiliar I went straight to using a for loop and f strings.
    That's one of the reasons I do these challenges though, it introduces useful things like enumerate() and how they can be used, or reminds you if you'd forgotten.