Skip to content

Commit e0d80f3

Browse files
committed
구조 변경
1 parent dfef767 commit e0d80f3

36 files changed

+40
-13
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

JumpToPython/JumpToPython.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
## 파이썬 책 따라하기
2+
3+
4+
책의 예제는 20191205.py 파일부터 보면 된다.
5+
6+
그 전꺼는 그냥 혼자 해본 것이다. 안봐도 됨👍
7+
8+
[20191205.py](20191205.py) ~ [20191209.py](20191209.py) : 자료형
9+
10+
[20191209.py](20191209.py) ~ [20191212.py](20191212.py) : 제어문
11+
12+
[20191212.py](20191212.py) ~ [20191213.py](20191213.py) : 프로그램 입출력
13+
14+
*since. 11.26 2019*
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Chapter 01 숫자
2+
3+
# 1.1 정수
4+
'''
5+
int / 불변형 / 적어도 4byte
6+
'''
7+
8+
# .bit_length() : 정수의 바이트 수 반환
9+
# *.파이썬 3.1 이상
10+
print((999).bit_length()) # 10 : 10바이트
11+
12+
# int(문자열, 밑) 문자열 정수 변환 및 다른 진법의 문자열을 정수로 변환
13+
s = '11'
14+
d = int(s) # 10진수인 s를 10진수 정수로
15+
print(d)
16+
b = int(s, 2) # 2진수인 s를 10진수 정수로
17+
print(b)
18+
s = '12'
19+
# b = int(s, 2) # 이렇게 실행하면 2진수 '12'는 존재할 수 없으므로 ValueError가 발생한다.
20+
print(b)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
파이썬 자료구조 알고리즘 책 따라하기
2+
---------------
3+
시작 2020-01-20

README.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
## 파이썬 책 예제 따라하기
1+
책 예제 따라하기
2+
--------------
23

3-
4-
책의 예제는 20191205.py 파일부터 보면 된다.
5-
6-
그 전꺼는 그냥 혼자 해본 것이다. 안봐도 됨👍
7-
8-
[20191205.py](20191205.py) ~ [20191209.py](20191209.py) : 자료형
9-
10-
[20191209.py](20191209.py) ~ [20191212.py](20191212.py) : 제어문
11-
12-
[20191212.py](20191212.py) ~ [20191213.py](20191213.py) : 프로그램 입출력
13-
14-
*since. 11.26 2019*
4+
- [점프 투 파이썬](JumpToPython/JumpToPython.md)

0 commit comments

Comments
 (0)