I’m brand new to coding and have been teaching myself Python. I have been trying to create multiple shopping list, that I can print out in a f-string. My code keeps repeating the f-string by the number of items in the list. No matter what I try, I can’t get the list of items to print.
I would like to be able to create individual shopping list. that I can add and take away items from, that automatically update the f-string when printed.
This is what I have:
Dads_shopping_list = ["Body Wash", "Soda", "Water", "Candy Bar"]
Izaiahs_shopping_list = ["Apples", "Wings", "Chips"]
for Dad in Dads_shopping_list:
for Izaiah in Izaiahs_shopping_list:
print(f"Hey can you pick up [Dad] for Dad. And can you bring me back [Izaiahs].")