We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00c34c0 commit 126e57aCopy full SHA for 126e57a
food.py
@@ -0,0 +1,6 @@
1
+food = "pizza"
2
+price = 8.99
3
+num_of_food = int(input(f"How many {food}s?: "))
4
+total = num_of_food * price
5
+
6
+print(f"Your total is ${total}")
0 commit comments