私はこのコードを実行したときに、私はこのエラーとValueErrorを取得する「台所」()ベース10とベース10とのint型のための無効なリテラル():「キッチン」
私は、Pythonに非常に新しいですどんな助けでも大歓迎です。 ありがとうございます。
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)
まあ、正確にあなたが整数に ' 'kitchen''を変換しようとすると、それが何を期待する何をすべきか? – jonrsharpe