Answer:
The program in Python is as follows:
num = int(input())
for i in str(num):
print(int(i))
Step-by-step explanation:
This gets input for the number
num = int(input())
This converts the number to string and iterates through each element of the string
for i in str(num):
This prints individual digits
print(int(i))