`TypeError` in Q12 Integer to Roman
lowspace opened this issue · 2 comments
lowspace commented
TypeError: 'float' object cannot be interpreted as an integer
leetcode/python/012_Integer_to_Roman.py
Line 38 in 0564594
lowspace commented
To correct this error, try for j in range(int(k)):.
qiyuangong commented
Thank you @lowspace !
That's my fault. My previous solution is for Python2, in Python3 it will raise TypeError.
Have change to Python3 :)
Issue closed