質問編集履歴

1

2019/12/05 09:25

投稿

DarackObaka
DarackObaka

スコア4

test CHANGED
File without changes
test CHANGED
@@ -64,7 +64,7 @@
64
64
 
65
65
  word = input()
66
66
 
67
- if word == "melon":
67
+ if word == "y":
68
68
 
69
69
  c += 1
70
70
 
@@ -90,11 +90,11 @@
90
90
 
91
91
 
92
92
 
93
- for y in s:
93
+ for w in s:
94
94
 
95
- if y[1] == "melon":
95
+ if w[1] == "y":
96
96
 
97
- s = s[y[0]+11:]
97
+ s = s[w[0]+11:]
98
98
 
99
99
  break
100
100