a = [1,2,3,4,5,6,7,8,9]
m = int(input())
for i in range(0,9):
    for n in range(0,9):
        if (a[i]+a[n]) == 10:print(f"쌍: ({a[i]},{a[n]})")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: