반응형
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 | 31 |
Tags
- Excel
- Google Spreadsheet
- Python
- numpy
- django
- gas
- Apache
- Kotlin
- Tkinter
- hive
- google apps script
- dataframe
- PySpark
- Github
- Java
- GIT
- PANDAS
- Google Excel
- matplotlib
- string
- SQL
- c#
- Mac
- 파이썬
- Redshift
- array
- list
- math
- PostgreSQL
Archives
- Today
- Total
목록hexadecimal (1)
달나라 노트
Python Basic : hex() (10진수를 16진수로 변환. 10진수 16진수 변환. hexadecimal number)
Python의 내장함수 oct()는 10진수를 8진수로 변환해줍니다. print(hex(17)) -- Result 0x11 17을 16진수로 바꿔보았습니다. 결과에 있는 0x를 지우면 11이 되는데, 바로 이 부분이 16진수를 의미합니다. (0x에서 x는 hex를 의미하며 16진수를 뜻합니다.) 11을 10진수로 변환해보면 실제로 17이 나옵니다.
Python/Python Basic
2024. 3. 7. 19:23