質問編集履歴

1

書式の改善

2020/10/15 08:38

投稿

yasu0901
yasu0901

スコア1

test CHANGED
File without changes
test CHANGED
@@ -1,28 +1,28 @@
1
1
  ### 前提・実現したいこと
2
2
 
3
-
3
+ ```
4
4
 
5
5
  RPGの対戦ゲームのようなものを作りたい
6
6
 
7
-
7
+ ```
8
8
 
9
9
  ### 発生している問題・エラーメッセージ
10
10
 
11
-
11
+ ```
12
12
 
13
13
  player1.attack(player2)
14
14
 
15
15
  TypeError: 'int' object is not callable
16
16
 
17
-
18
-
19
- 言語名:Python
17
+ ```
20
18
 
21
19
 
22
20
 
23
21
  #ソースコード
24
22
 
25
23
 
24
+
25
+ ```python
26
26
 
27
27
  import random
28
28
 
@@ -93,3 +93,5 @@
93
93
  print(player1.status())
94
94
 
95
95
  print(player2.status())
96
+
97
+ ```