The basis of the number of practice questions palindrome
Resource constraints
Time limit: 1.0s memory limit: 512.0MB
Problem Description
1221 is a very special number, it is read and read from the right as from the left, seeking programming all such four-digit decimal number.
Output format
output four decimal number satisfying the condition in ascending order.
for i in range(1,10):
for j in range(0,10):
print(i,end='')
print(j,end='')
print(j,end='')
print(i,end='\n')