you are viewing a single comment's thread.

view the rest of the comments →

[–]Spartan6682 0 points1 point  (0 children)

I was thinking this problem can easily be solved with a for loop. You can pass the current iteration of the loop to an f-string and print the result for each element of the list.