回答編集履歴
1
変数名変更
test
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
def abbrevName(name):
|
8
8
|
|
9
|
-
uppers = [
|
9
|
+
uppers = [c for c in filter(str.isupper, name)]
|
10
10
|
|
11
11
|
print(uppers)
|
12
12
|
|