Skip to content

Commit

Permalink
refactor: Change to PEP8 Style
Browse files Browse the repository at this point in the history
아래 스타일 오류 수정
src/racingcar/main.py:81:65: E231 missing whitespace after ','
src/racingcar/main.py:81:80: E501 line too long (82 > 79 characters)
src/racingcar/main.py:93:11: W292 no newline at end of file
  • Loading branch information
AI-WonYJ committed Feb 12, 2025
1 parent e82f4d5 commit 57d31a6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/racingcar/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ def main():
"""
# 프로그램의 메인 로직을 여기에 구현
print("경주할 자동차 이름을 입력하세요.(이름은 쉼표로 구분)")
name_list = validate_input(list(map(str, input().replace(" ","").split(","))))
get_name = input().replace(" ", "").split(",")
name_list = validate_input(list(map(str, get_name)))
try_number = try_input()
print()
print("실행 결과")
Expand All @@ -90,4 +91,4 @@ def main():

if __name__ == "__main__":
# 프로그램이 직접 실행될 때만 main() 함수를 호출
main()
main()

0 comments on commit 57d31a6

Please sign in to comment.