[구현/수학] 백준 15232 Rectangles - 파이썬(Python)


[구현/수학] 백준 15232 Rectangles - 파이썬(Python)

[ Contents ] 1. 문제 (링크 참조) 15232번: Rectangles Read two integer numbers R and C from the standard input and then print R lines with C asterisks (*) each. Example (R=3, C=5): ***** ***** ***** Example (R=2, C=10): ********** ********** www.acmicpc.net 2. 문제 풀이 직사각형의 가로, 세로 길이가 주어집니다. 해당 직사각형의 모양으로 *을 출력합니다. 3. 코드 R = int(input()) C = int(input()) for i in range(R): print('*'*C) 파이썬은 문자열과 정수를 연산할 수..


원문링크 : [구현/수학] 백준 15232 Rectangles - 파이썬(Python)