, wenn ich diesen Code ausführen ich diesen Fehler Valueerror: invalid wörtlichen für int() mit Basis 10: ‚Küche‘ungültig wörtliche für int() mit Basis 10: ‚Küche‘
ich bin sehr neu in Python So würde jede Hilfe sehr geschätzt werden. Vielen Dank im Voraus.
st1 = []
number = 0
room_type =0
walls=0
print ("welcome to our painting cost estimate calculator")
print ("please enter the following information")
customer_number = input("please enter your telefone number")
date = input("please enter the date of the estimate \n(in short form)")
num_rooms = input("please enter the number of rooms that you wish to be painted")
int(num_rooms)
while int(room_type) < int(num_rooms):
room_type = input("please enter the room name")
list1.append(room_type))
while int(walls)< int(room_type):
wall = input ("enter the nmber of walls in",room_type,)
list1.append (float(2,wall))
wallpaper = input("does wallpaper need to be removed (y/n)\nthis costs £70")
if wallpaper == ("y"):
Total_price + 70*(num_rooms)
if wallpaper == ("n"):
measurements()
def measurements():
measure = input("please enter the dementions for",room_type,"as follows Height/width")
list1.insert(2,measure)
Nun, was genau erwarten Sie, es zu tun, wenn Sie versuchen, zu konvertieren ' 'kitchen'' auf eine ganze Zahl ?! – jonrsharpe