質問編集履歴
3
エラー文の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -40,13 +40,17 @@
|
|
40
40
|
|
41
41
|
```ここに言語を入力
|
42
42
|
|
43
|
-
|
43
|
+
Traceback (most recent call last):
|
44
44
|
|
45
|
-
|
45
|
+
File "C:\Users\kazuki\Documents\python\sukureipinngu.py", line 12, in <module>
|
46
46
|
|
47
|
-
|
47
|
+
result=USDJPY()
|
48
48
|
|
49
|
+
File "C:\Users\kazuki\Documents\python\sukureipinngu.py", line 9, in USDJPY
|
50
|
+
|
51
|
+
current_value = float(values)
|
52
|
+
|
49
|
-
|
53
|
+
TypeError: float() argument must be a string or a number, not 'NoneType'
|
50
54
|
|
51
55
|
```
|
52
56
|
|
2
エラー文の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -40,13 +40,13 @@
|
|
40
40
|
|
41
41
|
```ここに言語を入力
|
42
42
|
|
43
|
-
File "C:\Users\kazuki\Documents\python\sukureipinngu.py", line
|
43
|
+
File "C:\Users\kazuki\Documents\python\sukureipinngu.py", line 10
|
44
44
|
|
45
|
-
|
45
|
+
return current_value
|
46
46
|
|
47
|
-
^
|
47
|
+
^
|
48
48
|
|
49
|
-
|
49
|
+
IndentationError: unindent does not match any outer indentation level
|
50
50
|
|
51
51
|
```
|
52
52
|
|
1
エラー分の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -34,6 +34,22 @@
|
|
34
34
|
|
35
35
|
```
|
36
36
|
|
37
|
+
|
38
|
+
|
39
|
+
エラー
|
40
|
+
|
41
|
+
```ここに言語を入力
|
42
|
+
|
43
|
+
File "C:\Users\kazuki\Documents\python\sukureipinngu.py", line 8
|
44
|
+
|
45
|
+
values = soup.find('div', class_='pair-box-rate')
|
46
|
+
|
47
|
+
^
|
48
|
+
|
49
|
+
SyntaxError: invalid character in identifier
|
50
|
+
|
51
|
+
```
|
52
|
+
|
37
53
|
サイトで検索して様々な方法を試しましたがどうもうまくいかないです。
|
38
54
|
|
39
55
|
初歩的なことですが、どなたかご教授いただければ幸いです。
|