알고리즘
[조건문] Softeer level2 8단 변속기 (Python 파이썬)
민아당긴아
2024. 3. 14. 14:11
💡문제 링크
Candidate | Softeer Assessment UI
softeer.ai
💡문제 분석 요약
너무 쉬움
💡알고리즘 설계
너무 쉬움
💡코드
import sys
a = input()
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")
💡 느낀점 or 기억할정보
1분만에 풀음