알고리즘/코드업
[CodeUp]기초100제(python)_1076번 : [조건/반복실행구조] 문자 1개 입력받아 알파벳 출력하기
Orange57
2020. 3. 30. 18:25
728x90
반응형
SMALL
문제 :
영문자(a ~ z) 1개가 입력되었을 때 그 문자까지의 알파벳을 순서대로 출력해보자.
답 :
설명 :
문자 ↔ 아스키코드 변경 정리 부분 참고
=> https://deepflowest.tistory.com/36?category=839029
[파이썬] 문자 ↔ 아스키코드 변경
● ord('문자') : 문자 → 아스키코드 ord('A') >> 65 ● chr(숫자) : 아스키코드 → 문자 chr(37) >> '%' ● 아스키 코드표
deepflowest.tistory.com
코드 : https://github.com/Yearang-Lee/Algorithm/tree/master/CodeUp
Yearang-Lee/Algorithm
Contribute to Yearang-Lee/Algorithm development by creating an account on GitHub.
github.com
728x90
반응형
LIST