teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

-

2020/04/09 08:29

投稿

wie87e
wie87e

スコア5

title CHANGED
File without changes
body CHANGED
@@ -9,6 +9,7 @@
9
9
  if 1 == 0:
10
10
  return True
11
11
  print('---')
12
+ print('www')
12
13
 
13
14
 
14
15
  class Color2(Color1):
@@ -17,7 +18,8 @@
17
18
  return True
18
19
 
19
20
        # print('---') ココを変更したい処理
20
- print('変更')
21
+ print('変更')
22
+ print('www')
21
23
         
22
24
  c2 = Color2()
23
25
  print(c2.getName1())

1

-

2020/04/09 08:28

投稿

wie87e
wie87e

スコア5

title CHANGED
File without changes
body CHANGED
@@ -20,5 +20,5 @@
20
20
  print('変更')
21
21
         
22
22
  c2 = Color2()
23
- print(c2.getName1()) # 赤 青
23
+ print(c2.getName1())
24
24
  ```