-
Notifications
You must be signed in to change notification settings - Fork 2
Part1 quiz eucha #20
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?
Part1 quiz eucha #20
Conversation
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.
2번째줄이랑 5번째 줄에 포맷팅 맞추는게 좋을까?
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.
이렇게 하는게 나으려나
| a = list(map(int, input().split())) | |
| b = list(map(int, input().split())) | |
| a.sort() | |
| b.sort() | |
| a = sorted(list(map(int, input().split()))) | |
| b = sorted(list(map(int, input().split()))) |
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.
| cost = list(map(int, input().split())) | |
| budget = list(map(int, input().split())) | |
| cost.sort() | |
| budget.sort() | |
| cost = sorted(list(map(int, input().split()))) | |
| budget = sorted(list(map(int, input().split()))) |
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.
사실 파이썬은 변수 선언부 뒤에 함수 선언해서 cost랑 budget를 인자로 안써도 되긴하는데 어떰?
No description provided.