SWEA(Python) 풀이/D1

SWEA[D1] (Python) 2027번 대각선 출력하기 풀이

개발윗미 2022. 4. 7. 19:43

Python으로 구현한 2027번 대각선 출력하기 문제 풀이입니다.

 

https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=1&contestProbId=AV5QFuZ6As0DFAUq&categoryId=AV5QFuZ6As0DFAUq&categoryType=CODE&problemTitle=&orderBy=FIRST_REG_DATETIME&selectCodeLang=PYTHON&select-1=1&pageSize=10&pageIndex=2 

 

SW Expert Academy

SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요!

swexpertacademy.com


print("#++++")
print("+#+++")
print("++#++")
print("+++#+")
print("++++#")

 

1. 문제에서 요구하는 출력 형식에 맞추어 그대로 출력한다.