Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок1 ответ
+ 1
no it will not work, because int(a) expect an int and * is not a number.
use a function instead like
def mult(x, y) :
return x * y
get two inputs a and b
a = mult(a, b)