from decimal import Decimal for i in range(1, 11): # decimals = int(str(1/i)[2:]) print(d)