Skip to content
Snippets Groups Projects
Commit c6b21428 authored by KimMinSeob's avatar KimMinSeob
Browse files

Upload New File

parent 852c1cba
No related branches found
No related tags found
No related merge requests found
날짜 계산문제
예)2018 - 1900 = 118
118*365 = 43070
유니온달 118//4 = 29
43070 + 29 = 43099
43099 + 2018년에서 지난날 (11월 6일 기준)
43099 + 310 = 43409 .
2진수 >> 8진수 : 세개씩 끊어서
2진수 >>16진수 : 네개씩 끊어서
파이썬에서
a=255
hex(a)
하면
'0xff' >>따옴표 중요 문자열로 저장.
b=hex(a)
type(b)
하면
<class 'str'>
round(192384,-2) 를 사칙연산과 // % 를 사용하여 만들어보시오.
a=192384
(a//100)*100 >> 버림
(a+99) // 100 * 100 >> 올림
(a+50) // 100 * 100 >> 반올림
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment