Write a program that prompts the user to enter 10 integers and displays all the combinations of picking two numbers from the 10 in python


numbers = []

for i in range(10):
numbers.append(int(input("Enter a number: ")))

# remove duplicates
numbers = list(set(numbers))

for i in range(len(numbers)):
for j in range(len(numbers)):
if i != j:
print(numbers[i], numbers[j])


comment your solution