coding test/SW Expert Academy
5185. [파이썬 S/W 문제해결 구현] 1일차 - 이진수
https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AWTtiyIqd_wDFAVT SW Expert AcademySW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요!swexpertacademy.com 16진수를 2진수로 바꾸는 연산 자체는 쉬웠지만 16진수를 리스트로 가져오면 숫자와 문자형이 섞이는데 섞인 숫자와 문자형을 어떻게 따로 인식하고 가져오는지가 문제였다.파이썬에는 문자열이 숫자로 이루어졌는지 확인하는 isdigit을 통해 쉽게 확인할 수 있다. 사용법1) str.isdigit("문자열")2) "문자열".isdigit() def quater(num): quaternary=[] f..