promptdojo_

Lists, dicts, and the shape of an API response — step 8 of 9

Start with the list pets = ["luna", "moose"]. Add "biscuit" to the end of it using the .append method, then print the whole list.

Expected output:

['luna', 'moose', 'biscuit']

full-screen editor opens — close anytime to keep reading.