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
- 정규식 문자열 출력
- semanage
- python popen
- regex_search
- grafana dashboard
- c3 초
- selinux port 등록
- gcc regex
- g++ 업데이트
- 정규식 컴파일
- 1697
- gcc 업데이트
- snmp test
- telegraf
- c3 축 없애기
- python subprocess
- linux시간으로 변경
- c++ 정규식
- centos pyhon 설치
- c3 축 가리기
- CentOS7
- influxdb 설치
- snmp
- python os
- c3 step graph
- 정규식 활용
- InfluxDB
- c3 second
- subporcess path
- 백준
Archives
- Today
- Total
리셋 되지 말자
[python 문법] 나눗셈 본문
# 몫
>>> 5//3
1
# 소수점 포함 몫
>>> 5/3
1.6666666666666667
# 나머지
>>> 5%3
2
# 몫, 나머지 동시
>>> divmod(5,3)
(1, 2)
'Python' 카테고리의 다른 글
[python 문법] pass (0) | 2021.04.28 |
---|---|
[python 문법] print (0) | 2021.04.28 |
[python 문법] range (0) | 2021.04.28 |
[python 공부] 파이썬 순열, 조합 (0) | 2021.04.09 |
[python 공부] 프로그래머스 코딩 팁 기록 (0) | 2021.04.09 |