```
### converting an integer number to a roman number
class py_solution:
def int_roman(self,num):
# count iterations
count = 0
# create a string to store the result
answer = ""
# create a dictionary to store the roman numbers
roman_num = {"M":1000,"D":500,"C":100,"L":50,"XX":20,"X":10,"V":5,"IV":4,"I":1}
# get floor division of num by the highest number
for key,value in roman_num.items():
#Ensure that divisor is greater than value to pick the highest letter going down
while num >= value:
if num // value >= 1:
#Concatenate the letter for the first division
answer += key
print("the answer is ", answer)
# get the remainder of the division
remainder = num - value
print("the remainder is", remainder)
# Find the roman for the remainder
if remainder // value == 0:
answer += key
print ("the second concatenation answer is", answer)
#If remainder is not wholly divisible send the num in the next iteration to check against the next value
else:
num = remainder
print("number for the next iteration", remainder)
print("roman_num is", roman_num)
count += 1
print(count)
return roman_num
print(py_solution().int_roman(1100))
```

After finding the value of the remainder variable in the code the rest of the code after that is not being executed, so just creating an infinite loop, cause the rest of the code is to make the while loop condition false, as it solves the problem, Please help

Thanks