-
2920_Python // 음계IT_Baekjoon 단계별로 풀어보기/1차원 배열 2020. 1. 8. 02:00
Python
import sys a = list(map(int,sys.stdin.readline().split())) if(a==[1,2,3,4,5,6,7,8]) : print("ascending") elif (a==[8,7,6,5,4,3,2,1]) : print("descending") else : print("mixed")
===
'IT_Baekjoon 단계별로 풀어보기 > 1차원 배열' 카테고리의 다른 글
1546_Python // 평균 (0) 2020.01.08 3052_Python // 나머지 (0) 2020.01.08 2577_Python // 숫자의 개수 (0) 2020.01.08 2562_Python // 최댓값 (0) 2020.01.08 10818_Python // 최소,최대 (0) 2020.01.08