4 Antworten
+ 13
You just need to declare the data type of the input:
length = int(input("Length: "))
width = int(input("Width: "))
+ 13
good
+ 8
Am glad that it was correctly answered by a Female, AVA
+ 4
input is by default of type string. If you want to multiply or add input you will have to convert to integer or float.