While Loop

while <boolean expression>:
    <block of statements>
x = int(input("Enter a number from 0 to 100: "))
total = 0
while total % 100 != x:
    total = total + 9
print(f"The smallest multiple of 9 that ends in {x} is {total}")