Answer:
for i in range(1,10): print("{}.".format(i))
Step-by-step explanation:
here's a one liner that does what you need.
1.6m questions
2.0m answers