Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A Python script that calculates a team's win percentage.

License

NotificationsYou must be signed in to change notification settings

AntonisParaskevis/win-percentage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A Python script that calculates a team's win percentage.

Requirements

Python 3.x

Download

Click the Code button, then click on "Download ZIP"

OR

Click the win_percentage.py file, then click on the Download Raw File button.

How to Use

  1. Enter the team's name. Then, press Enter.
  2. Enter the number of the team's wins. It must be either zero or a positive integer. Then, press Enter.
  3. Enter the number of the team's losses. It must be either zero or a positive integer. Then, press Enter.
  4. The team's win percentage will be displayed on screen. If there are zero wins and zero losses, meaning that no games have been played yet, an approppriate message will be displayed.
  5. Finally, press Enter to exit the program.

License

MIT License © 2025 Antonis Paraskevis


[8]ページ先頭

©2009-2026 Movatter.jp