알고리즘(Python,Java)

백준알고리즘 2739번:구구단

IT grow. 2019. 7. 1. 21:11
반응형

백준알고리즘 2739번:구구단

 

문제

N을 입력받은 뒤, 구구단 N단을 출력하는 프로그램을 작성하시오. 출력 형식에 맞춰서 출력하면 된다.

 

사용언어 : python3

 

input = input()

num = int(input)


for a in range(1,10):
print("{0} * {1} = {2}".format(num,a,num*a))
반응형