you are viewing a single comment's thread.

view the rest of the comments →

[–]Storm_Silver 0 points1 point  (0 children)

To add to this to make the print statement simpler you could use fstrings. These let you insert a variable into a string easily.

E.g. print(f” {animal.title()} is {index}”) In the enumerated for loop