i want to add loop inside my code like if the input was no in (maty) the code will say try again and it will loop to Step on mat
mat = input("Step on mat : ")
maty = input("Is your weight between 40 and 50 ? : ")
if maty == ("yes"):
h = input("Select your height on the scale : ")
j = input("Is "+ h +" your height ? : ")
if j == ("yes"):
print("You are ready to go !")
else:
print("Try again")
if maty == ("no"):
print("try again")
im a beginner in python
thanks