Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок0
What mistake did I do
3 ответов
+ 2
You forget to separate string and variables in print function by comma, you didn't assign length, breadth and height to a variable.
https://code.sololearn.com/cVW6dI1LkRKB/?ref=app
+ 2
You never made a variable named 'length'. You need to assign the value taken as input to a variable to be able to use them later.
length = int(input("length: "))
will assign the value entered by the user for length in the variable 'length', which you can use later in the program. Do the same for breadth and height to make it work.
+ 1
You not store the value to variables.
First store the values, then do calculation.
In last line:
Put ,(comma) between String and variable.