fork download
  1. # your code goes here
  2. b=[1,2,3,4]
  3. a=[1,2,3,4]
  4. for e in a:
  5. for j in b:
  6. print(e,'×',j,'=',e*j)
Success #stdin #stdout 0.07s 14136KB
stdin
Standard input is empty
stdout
1 × 1 = 1
1 × 2 = 2
1 × 3 = 3
1 × 4 = 4
2 × 1 = 2
2 × 2 = 4
2 × 3 = 6
2 × 4 = 8
3 × 1 = 3
3 × 2 = 6
3 × 3 = 9
3 × 4 = 12
4 × 1 = 4
4 × 2 = 8
4 × 3 = 12
4 × 4 = 16