回答編集履歴

1

修正

2021/02/08 02:45

投稿

meg_
meg_

スコア10739

test CHANGED
@@ -6,9 +6,9 @@
6
6
 
7
7
  user_food = input("食べ物を入力")
8
8
 
9
- for user_food in food_list:
9
+ for user_food in food_list:
10
10
 
11
- print(f"{user_food:10}", end="")
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
- for user_food in food_list:
21
+ for user_food in food_list:
22
22
 
23
- print(f"{x * food[user_food]:<10.2f}", end="")
23
+ print(f"{x * food[user_food]:<10.2f}", end="")
24
24
 
25
25
  ```
26
26