Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
Python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KimMinSeob
Python
Commits
c6b21428
Commit
c6b21428
authored
6 years ago
by
KimMinSeob
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
852c1cba
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
창소입2.txt
+47
-0
47 additions, 0 deletions
창소입2.txt
with
47 additions
and
0 deletions
창소입2.txt
0 → 100644
+
47
−
0
View file @
c6b21428
날짜 계산문제
예)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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment