Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- SQL
- Ga
- matplotlib
- 통계학
- 티스토리
- 텐서플로
- 시각화
- Google Analytics
- 딥러닝
- 한빛미디어
- 독후감
- 리눅스
- 블로그
- Blog
- MATLAB
- 파이썬
- 파이썬 시각화
- Tistory
- tensorflow
- Pandas
- Visualization
- 매틀랩
- 한빛미디어서평단
- Python
- 서평
- MySQL
- python visualization
- 월간결산
- Linux
- 서평단
Archives
- Today
- Total
pbj0812의 코딩 일기
[PYTHON] 알파벳 순서대로 123~ 지정하기 본문
import sys
import math
# Auto-generated code below aims at helping you parse
# the standard input according to the problem statement.
s = input()
# Write an action using print
# To debug: print("Debug messages...", file=sys.stderr)
t = 0
for c in s.lower():
t += ord(c) - ord('a') + 1
print(t)
'ComputerLanguage_Program > PYTHON' 카테고리의 다른 글
[PYTHON] text to ascii 이후 더하기 (0) | 2018.09.01 |
---|---|
[PYTHON] 숫자 역정렬 (0) | 2018.09.01 |
[PYTHON] 글자 입력 반대로 출력하기 (0) | 2018.09.01 |
[PYTHON] 진수 변환 (0) | 2018.09.01 |
[PYTHON] 문자 변환 문제 (0) | 2018.09.01 |
Comments