1️⃣ 구구단

N = int(input())

for i in range(1,10):
	print('%d * %d = %d' % (N, i, N*i))

https://www.geeksforgeeks.org/python-for-loops/

2️⃣ A+B - 3

T = int(input())
result = []

for i in range(T):
	A, B = map(int, input().split())
	result.append(A+B)

for element in result:
	print(element)

3️⃣ 합

n = int(input())
result = 0

for i in range(1,n+1):
	result += i
print(result)

https://www.geeksforgeeks.org/python-range-function/

4️⃣ 빠른 A+B

import sys
T = int(sys.stdin.readline())

for i in range(T):
	A, B = map(int, sys.stdin.readline().split())
	print(A+B)

5️⃣ N 찍기

N = int(input())

for i in range(1, N+1):
	print(i)