Skip to content

Commit

Permalink
style: Change style
Browse files Browse the repository at this point in the history
  • Loading branch information
AI-WonYJ committed Feb 15, 2025
1 parent 9e947cc commit 8178407
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lotto/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ def print_result(result_list, purchase_amount):
# 총 당첨 금액 계산
total_prize = sum(score.prize * cnt for score, cnt in score_count.items())


# 수익률 계산 및 출력
revenue_rate = (total_prize / purchase_amount) * 100
print(f"총 수익률은 {revenue_rate:.1f}%입니다.")
Expand Down

0 comments on commit 8178407

Please sign in to comment.