-
[python]백준 0123456789 6916번알고리즘 문제풀이/백준(파이썬) 2023. 5. 13. 23:45
코드
import sys sys.stdin = open("6916.txt", "r") ls = [ """ * * * * * * * * * * * * * * * * * *""", """ * * * * * * """, """ * * * * * * * * * * * * * * * """, """ * * * * * * * * * * * * * * *""", """ * * * * * * * * * * * * """, """ * * * * * * * * * * * * * * *""", """ * * * * * * * * * * * * * * * * * *""", """ * * * * * * * * * """, """ * * * * * * * * * * * * * * * * * * * * *""", """ * * * * * * * * * * * * * * * * * *""", ] a=int(input()) print(ls[a])
링크
https://www.acmicpc.net/problem/6916
'알고리즘 문제풀이 > 백준(파이썬)' 카테고리의 다른 글
[python]백준 2017 연세대학교 프로그래밍 경시대회 14568번 (0) 2023.05.15 [python]백준 연속구간 2495번 (0) 2023.05.14 [python]백준 공 1547번 (0) 2023.05.12 [python]백준 핸드폰 요금 1267번 (0) 2023.05.11 [python]백준 베라의 패션 15439번 (0) 2023.05.10