Skip to content
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

번호 출력 결과가 한 칸씩 밀림 #114

Closed
roeniss opened this issue Mar 10, 2024 · 3 comments · Fixed by #117
Closed

번호 출력 결과가 한 칸씩 밀림 #114

roeniss opened this issue Mar 10, 2024 · 3 comments · Fixed by #117
Assignees
Labels
bug Something isn't working

Comments

@roeniss
Copy link
Owner

roeniss commented Mar 10, 2024

 로또6/45 복권을 구매했습니다.
┏━━━━━━┳━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━┓
┃ 슬롯 ┃ Mode ┃ 번호1 ┃ 번호2 ┃ 번호3 ┃ 번호4 ┃ 번호5 ┃ 번호6 ┃    ┃
┡━━━━━━╇━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━┩
│ A    │ 자동 │       │ xx    │ xx    │ xx    │ xx    │ xx    │ xx │
│ B    │ 자동 │       │ xx    │ xx    │ xx    │ xx    │ xx    │ xx │
│ C    │ 자동 │       │ xx    │ xx    │ xx    │ xx    │ xx    │ xx │
│ D    │ 자동 │       │ xx    │ xx    │ xx    │ xx    │ xx    │ xx │
│ E    │ 자동 │       │ xx    │ xx    │ xx    │ xx    │ xx    │ xx │
└──────┴──────┴───────┴───────┴───────┴───────┴───────┴───────┴────┘

번호가 이렇게 보인다...

@roeniss roeniss added the bug Something isn't working label Mar 10, 2024
@roeniss roeniss self-assigned this Mar 10, 2024
@kwon5jun
Copy link
Contributor

kwon5jun commented Jul 11, 2024

"numbers": line[1:-1].split("|"),

이부분을 "numbers": line[2:-1].split("|"), 로 변경하면 해결될 것 같습니다.

슬롯 구분 이후 맨 앞글자를 자르셨는데 |가 남아서 split이후 앞에 공백으로 처리되는 것 같습니다.

@roeniss
Copy link
Owner Author

roeniss commented Jul 18, 2024

@kwon5jun 아, 이해했습니다! 감사합니다. 혹시 기여해주실 의향이 있으신가요? 따로 생각없으시면 제가 커밋하겠습니다.

@roeniss
Copy link
Owner Author

roeniss commented Jul 25, 2024

resolved by #117

@roeniss roeniss closed this as completed Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants