-
Notifications
You must be signed in to change notification settings - Fork 24
Send PR #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Send PR #22
Conversation
Refactor sort import
|
นอนต่อเลยได้ไหม อย่าปล่อยให้ตัวฉันไป เธอก็รู้ว่าโค๊ดทั้งหมดอยู่ที่PR ตอนนี้ ก็จะแต่คำว่าบัคแทนคำบอกลา devmountain hackathon คงรู้ดี |
|
55555555555 |
| for record in records: | ||
| if convert_default and ( | ||
| record[10].text != "1" | ||
| or record[9].text not in ("Airhostess", "Pilot", "Steward") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should keep ("Airhostess", "Pilot", "Steward") as new variable. it make more readable
| leap_days = 0 | ||
| target_date = datetime(int(date_str[6:]), int(date_str[3:5]), int(date_str[:2])) | ||
| for year in range(target_date.year, current_datetime.year + 2): | ||
| leap_days += not (year & 0b11) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0b11 is magic number so it would be better to create new variable to store it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please explains the reason 0b11 is a magic number.
|
@rsxss ขอ email หน่อยครับ |
ทีม นอนต่อเลยได้ไหม
สมาชิก 🤗
N.SX
Sathipp
Jiruschai
🔥 Repo: hackathon 🔥
👀 Visualization: link 👀