回答編集履歴
1
修正
test
CHANGED
@@ -6,9 +6,9 @@
|
|
6
6
|
|
7
7
|
user_food = input("食べ物を入力")
|
8
8
|
|
9
|
-
|
9
|
+
for user_food in food_list:
|
10
10
|
|
11
|
-
|
11
|
+
print(f"{user_food:10}", end="")
|
12
12
|
|
13
13
|
```
|
14
14
|
|
@@ -18,9 +18,9 @@
|
|
18
18
|
|
19
19
|
x = number / food[user_food]
|
20
20
|
|
21
|
-
|
21
|
+
for user_food in food_list:
|
22
22
|
|
23
|
-
|
23
|
+
print(f"{x * food[user_food]:<10.2f}", end="")
|
24
24
|
|
25
25
|
```
|
26
26
|
|