Go: // 九九を出すだけ
package main
import (
	"fmt"
	"os"
	"bufio"
)
var out = bufio.NewWriter(os.Stdout)

func main(){
	defer out.Flush()
	for i:=1; i<10; i++{
		for j:=1; j<10; j++{
			fmt.Fprintf(out, "%dx%d=%d\n", i, j, i*j)
		}
	}
}

Python: while True:
    card_num = int(input())
    if(card_num == 0):
        break
    a = 0
    b = 0
    for i in range(card_num):
        comp = input()
        if(int(comp[0]) == int(comp[2])):
            a += int(comp[0])
            b += int(comp[0])
        elif(int(comp[0]) > int(comp[2])):
            a += int(comp[0]) + int(comp[2])
        elif(int(comp[0]) < int(comp[2])):
            b += int(comp[0]) + int(comp[2])
    print(str(a)+' '+ str(b) + '\n')

Python: for i in range(1, 10) :
    for j in range(1, 10) :
        print(str(i) + "x" + str(j) + "=" + str(i * j))

Python: for a in range(1,10):
    for b in range(1,10):
        print(str(a)+"x"+str(b)+"="+str(a*b))

Python: a = [x for x in range(9)]
 
for i in a:
    for j in a:
        print("{}x{}={}".format(i+1,j+1,(i+1)*(j+1)))

Python: i = 0
for a in range(10):

	for b in range(10):
		i = a * b
		print(a,"*" ,b ,"=" ,i)
	print()

Python: for i in range(1,10):
    for j in range(1,10):
        k = i*j
        print(str(i) + "x" + str(j) + "=" +  str(k))

Python: #coding:UTF-8
def QQ():
    for i in range(1,10):
        for j in range(1,10):
            print(str(i)+"x"+str(j)+"="+str(i*j))
 
if __name__=="__main__":
    QQ()

Python: for i in range(1, 10):
    for j in range(1, 10):
        print('{0}x{1}={2}'.format(i, j, i*j))

Python: for number1 in range(1, 10) :
    for number2 in range(1, 10) :
        print(str(number1) + 'x' +  str(number2) + '=' + str(number1 * number2))

Python: for ii in range(9):
    for jj in range(9):
       print('{}x{}={}'.format(ii,jj,ii*jj))

Python: for i in range(1,10):
    for j in range(1,10):
        print(str(i)+'x'+str(j)+'='+str(i*j))

Python: for i in range(1,10):
    for j in range(1,10):
        print(str(i)+"*"+str(j)+"="+str(i*j))

Python: a = range(2,10)
b = range(2,10)

for i in range(10):
    for j in range(10):
        k = i*j;
        print(str(i) + "x" + str(j) + "=" + str(k));

Python: i = 0
while i < 9:
    i = i + 1
    
    j = 0
    while j < 9:
        j = j + 1
        
        print (str(i) + 'x' + str(j) + '=' + str(i*j))

Python: [print("{}x{}={}".format(i,j,i*j)) for i in range(1,10) for j in range(1,10)]

Python: for i in range(1, 10):
	for j in range(1, 10):
		print("{}x{}={}".format(i,j,i*j))

Python: for i in range(10):
    for j in range(10):
        fmt = format("{0}x{1}={2}")
        g = fmt.format(i, j, i*j)
        print(g)

Python: from itertools import permutations

for i in permutations(list(range(1,10)),2):
    print(i[0],"x",i[1],"=",i[0]*i[1],sep="")

Python: #!/usr/bin/env python3
for x in range(1, 10):
    for y in range(1, 10):
        print("{0}x{1}={2}".format(x, y, x * y))

Python: ""in(print("{}x{}={}".format(x, y, x*y)) for x in range(1,10) for y in range(1,10))

Python: #coding:utf-8

import itertools
r = range(1,10)
for (x,y) in itertools.product(r,r):
	print('{}x{}={}'.format(x,y,x*y))

Python: x = 0
y = 0
for i in range(1,10):
    x += 1
    y = 0
    for j in range(1,10):
        y += 1
        print("{}×{}={}".format(x,y,x*y))

Python: for x in range(1, 10):
    for y in range(1, 10):
        print("%dx%d=%d" % (x, y, x * y))

Python: a=[1,2,3,4,5,6,7,8,9]
b=[1,2,3,4,5,6,7,8,9]
for i in a:
   for x in b:
     print(i*x)

Python: i = 0
for a in range(10):

	for b in range(10):
		i = a * b
		print(a,"*" ,b ,"=" ,i)

Python: for x in range(9):
    x = x + 1
    for y in range(9):
        y = y + 1
        print(x.__str__() + 'x' + y.__str__() + '=' + (x * y).__str__() )

Python: for i in range(1,10):
    for j in range(1,10):
        print("{0}x{1}={2}".format(i, j, i * j))

Python: s=0
t=0
for i in range(9):
    s+=1
    for j in range(9):
        if t==9:
            t=1
        else:
            t+=1
        print(f'{s}x{t}={s*t}')

Python: for i in range(1, 10):
    for j in range(1, 10):
        print('{}×{}＝'.format(i,j), i*j)
exit()

Python: for i in range(1,10):
	for j in range(1,10):
		print(str(i)+"x"+str(j)+"="+str(i*j))

Python: for n in range(1,10):
    for m in range(1,10):
        print(n,"x",m,"=",n*m,sep="")

Python: for x in range(1,10):
    for i in range(1,10):
        print(f"{x}x{i}={x*i}")

Python: for i in range(1, 10):
	for j in range(1, 10):
		c=i*j
		print("{0}x{1}={2}".format(i,j,c))

Python: for i in range(1,10):
    for j in range(1,10):
        print('{}x{}={}'.format(i,j,i*j))

Python: for i in range(1,10):
  for j in range(1,10):
    print ('%sx%s=%s \t' % (i,j,i*j)),
    print

Python: for i in range(1, 10):
    for j in range(1, 10):
        print("{0}x{1}={2}".format(i, j, i * j))

Python: i=1
while i < 10:
    j=1
    while j < 10:
        print (i,"x",j,"=",i*j)
        j+=1
    i+=1

Python: for ii in range(9):
    print('{}x{}={}'.format(ii,ii,ii*ii))

Python: print(*[str(i)+'x'+str(j)+'='+str(i*j) for i in range(1,10) for j in range(1,10)], sep='\n')

Python: a = [1, 2, 3, 4, 5, 6, 7, 8, 9]
b = [1, 2, 3, 4, 5, 6, 7, 8, 9]

for x in a:
    for y in a:
        ans = x * y
        print(str(x)+'x'+str(y)+'='+str(ans))

Python: for i in range(1, 10):
    for j in range(1, 10):
        print("{}x{}={}".format(i, j, i*j))

Python: for i in range(1,10):
    for j in range(1,10):
        print(str(i)+'x'+str(j)+'='+str(i*j))

Python: #QQ
for i in range(1,10):
    for n in range(1, 10):
        print("%dx%d=%d" % (i, n, i * n))

Python: for i in range(1,10):
    for k in range(1,10):
        print("{0}x{1}={2}".format(i,k,i*k))

Python: k=[print(str(i)+"x"+str(j)+"="+str(i*j)) for i in range(1,10)  for j in range(1,10)]

Python: for i in range(1,10):
    for j in range(1,10):
        print(str(i) + "x" + str(j) + "=" + str(i*j))

Python: for i in range(1,10):
    for j in range(1,10):
        print("{}x{}={}".format(i,j,i*j))

Python: for i in range(1,10):
	for j in range(1,10):
		print(str(i)+'x'+str(j)+'='+str(i*j))

Python: for i in list(range(1,10)):
    for ii in list(range(1,10)):
        print("%d x %d = %d" % (i, ii, i*ii))

Python: for i in range(0,9):
    for j in range(0,9):
        print("{0}x{1}={2}".format(i+1,j+1,(i+1)*(j+1)))

Python: for i in range(9):
  for j in range(9):
    print("%dx%d=%d" % ((i+1),(j+1),(i+1)*(j+1)))

Python: # coding: utf-8
# Your code here!

for i in range(1,10):
    for j in range(1,10):
        print('{0}x{1}={2}'.format(i,j,i*j))

Python: for i in range(1, 10):
   for j in range(1, 10):
       print(str(i) +"x" +str(j) +"=" + str(i*j))

Python: for i in range(9):
    for j in range(9):
        print(str(i+1),"??",str(j+1),"=",str((i+1)*(j+1)))

Python: for a in range(1,10):
	for b in range(1,10):
		i = a * b
		print(a,"x",b,"=",i,sep="")

Python: for i in range(1, 10):
    for j in range(1, 10):
        print(str(i) + "x" + str(j) + "=" + str(i * j))

Python: for i in range(1, 10):
    for j in range(1, 10):
        print("{}x{}={}".format(i,j,i*j))

Python: for i in range(9):
    for j in range(9):
        print("{0}x{1}={2}".format(i+1, j+1, (i+1)*(j+1)))

Python: for i in range(1, 10):
	for j in range(1, i + 1):
		print(str(j) + 'x' + str(i) + '=' + str(i * j))

Python: for i in range(1,10):
    for j in range(1,10):
        s = str(i)+'x'+str(j)+'='+str(i*j)
        print(s)

Python: # coding: utf-8
# Your code here!
for i in range(1,10):
    for j in range(1,10):
        print(str(i)+"x"+str(j)+"="+str(i*j))

Python: for a in range(1,10):
    for b in range(1,10):
        print(a,"x",b,"=",a*b)

Python: for i in range(1, 10):
    for j in range(1, 10):
        print("%sx%s=%s" % (i, j, i * j))

Python: for a in range(1, 10):
    for b in range(1, 10):
        print("{0}x{1}={2}".format(a, b, a*b))

Python: for i in range(10):
     print(str(i) + 'x' + str(i)+'='+str(i*i))

Python: for i in range(1, 10):
    for j in range(1, 10):
        print("{}x{}={}".format(i, j, i*j))