Hello wonderful people of stackoverflow. I am new to Python and just wrote my second program. It works but I want it to be better. Basically, I made a program that converts distance measurements. What I would like to do is only take inputs that are in my list. Then only take digits. Then only take inputs from my list again. I cannot find any help and would really appreciate it. Here are the initial lines of the code. I will not include the rest as it is an additional few dozen lines doing all the math. Thank you.
print("Meters | Feet | Yards | Miles | Kilometers | Inches | Centimeters")
measure1 = input("What would you like to measure? ")
measure1insensitive = (measure1.casefold())
num1 = input("How much? Enter digit: ")
num1_int = int(num1)
print("Meters | Feet | Yards | Miles | Kilometers | Inches | Centimeters")
measure2 = input("What do you want to convert this to? ")
measure2insensitive = (measure2.casefold())