Answer the question
In order to leave comments, you need to log in
Python floating point how to fix?
def find():
number = int (ui.lineEdit.text())
findcheck1 = int(number(* 0.4))
findcheck2 = int(number(* 0.7))
findcheck3 = int(number(* 0.9))
ui.label_5.setText(findcheck1, findcheck2, findcheck3)
ui.pushButton.clicked.connect(find)
Traceback (most recent call last): File "C:\Users\─шьр\Desktop\╧Ёшыюцхэшх\╤їхьр юЄцшьрэшщ.py", line 22, in find findcheck1 = int(number(* 0.4)) TypeError: 40 argument after * must be an iterable, not float
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question