Create a program to provide all possible combinations of two numbers with the given digits.
Digits: 12
# Python
digits = "12"

for i in range(len(digits)):
 for j in range(len(digits)):
 if i != j:
 print(digits[i] + digits[j])

# 10, 11, 12, 21, 22