59.9k views
5 votes
What would be the result of running these three lines of code? snacks = ["pizza", "popcorn", "soda", "burgers"] snacks.append("ice cream") print(snacks) [‘pizza’, ‘popcorn’, ‘soda’, ‘burgers’] [‘pizza’, ‘popcorn’, ‘soda’, ‘burgers’, ‘ice cream’] [‘ice cream’, ‘pizza’, ‘popcorn’, ‘soda’, ‘burgers’] [‘ice cream’]

User Igor Pejic
by
3.4k points

1 Answer

3 votes

Answer:

option b

Pizza popcorn soda burger ice-cream

User Reino
by
3.4k points