A Python code snippet for printing numbers from 1 to 100 using a for-loop. The code is: `for i in range(1, 101): print(i, end=" ")`. Python one liner program, How to get today's day in python