質問編集履歴

1

コード部分の書式の修正

2016/08/07 06:22

投稿

UMA00
UMA00

スコア18

test CHANGED
File without changes
test CHANGED
@@ -13,6 +13,8 @@
13
13
 
14
14
 
15
15
  ###インプットのXMLファイル
16
+
17
+ ```Python
16
18
 
17
19
  <?xml version="1.0"?>
18
20
 
@@ -60,11 +62,13 @@
60
62
 
61
63
  </data>
62
64
 
65
+ ```
63
66
 
67
+ ###編集ファイル
64
68
 
65
- ###編集ファイル(Python)
69
+ ```Python
66
70
 
67
- ```# -*- coding: utf-8 -*-
71
+ # -*- coding: utf-8 -*-
68
72
 
69
73
  f = open('country_data.xml', 'r')# inputファイル'country_data.xml'を読み込み、変数textに代入
70
74
 
@@ -86,6 +90,8 @@
86
90
 
87
91
  print inspect.currentframe().f_lineno # =>11
88
92
 
93
+ ```
94
+
89
95
 
90
96
 
91
97
  ###試したこと