1

Here's an example of what I mean:

list = ["apple", "lemon", "Shepherd's", "steak and kidney"]

I might want to add the word 'pie' onto the end of every element - without manually typing into the list. The result should be:

list = ["apple pie", "lemon pie", "Shepherd's pie", "steak and kidney pie"]

Any ideas as to how I would do this? (This isn't my actual code btw, pie was just on my mind)

123Bear Honey
  • 81
  • 1
  • 6

0 Answers0