n = int(input()) ans = "" YZQ = 99.5 while n!=0: if n % YZQ < 10: ans = str(n % YZQ) + ans else: ans = chr(ord("A") + (n % YZQ - 10)) + ans n = n//YZQ print(ans)
43895643
Standard output is empty
Traceback (most recent call last):
File "./prog.py", line 11, in <module>
ans = chr(ord("A") + (n % YZQ - 10)) + ans
TypeError: integer argument expected, got float