質問編集履歴

2

エラーメッセージの変更

2020/01/25 13:34

投稿

JinGoda
JinGoda

スコア20

test CHANGED
File without changes
test CHANGED
@@ -16,7 +16,19 @@
16
16
 
17
17
  ```
18
18
 
19
+ Exception in Tkinter callback
20
+
21
+ Traceback (most recent call last):
22
+
23
+ File "C:\Users\gojin\AppData\Local\Programs\Python\Python38\lib\tkinter\__init__.py", line 1883, in __call__
24
+
25
+ return self.func(*args)
26
+
27
+ File "C:\Users\gojin\Desktop\sqlite3\damagecalculation.py", line 84, in click
28
+
29
+ dmg = int(int(22 * power * Atktype / Deftype) / 50 +2) * range_rev * mAtk
30
+
19
- unsupported operand type(s) for *: 'int' and 'sqlite3.Cursor'
31
+ TypeError: unsupported operand type(s) for *: 'int' and 'sqlite3.Cursor'
20
32
 
21
33
  ```
22
34
 

1

タイトルの変更

2020/01/25 13:34

投稿

JinGoda
JinGoda

スコア20

test CHANGED
@@ -1 +1 @@
1
- cursor型をint型して変数に格納、計算可能にる方法
1
+ 【パイソン】計算式に変数が使えず困っていま
test CHANGED
File without changes