Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren1 Antwort
+ 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)