Hello, I'm currently working on a school project in which i can not get my head around into figuring out how to make a loop until the user has input an interger this is what i have so far :
width = "hi"
length = "hello"
while width != int and length != int:
width = int(input("Please enter the width of your garden in meters "))
length = int(input("Please enter the length of your garden in meters "))
obviously more needs to be added but the program still blows up every time a non integer value has been entered any ways on fixing it?