input returns a string, so with area=width*height you are really multiplying two strings.
You need to convert the inputs (strings) to numbers first, for example integer:
You need to convert the inputs (strings) to numbers first, for example integer:
width=int(input("what is the width?")) height=int(input("what is the height?"))