Let's run through the code and see how it relates to the flowchart!
The flowchart will be constructed as you go through the code.
your_money = 9
burger_price = 5
pasta_price = 3
ice_cream_price = 3
total = burger_price + pasta_price + ice_cream_price
if total <= your_money:
print("Yes, you can buy a spaghetti pasta, a burger, and an ice-cream!")
else:
print("Sorry, you don't have enough money to buy a pasta, a burger, and an ice-cream.")
# End of program