Title Calculating the Winning Percentage of a Sports Team (Case 3)
Catalog Type SLCItem
Persistent ID https://pawscomp2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=PYTHON&set=py_win_percentage&ch=py_win_percentage_won_equal
Platform Name PCEX
Features
Description Construct a program that receives from the user the number of games that a sports team won and tied in a tournament of 12 games and calculates the winning percentage of the sports team, counting ties as half wins. The program must ask the user for each of the two inputs until the user enters a valid number.
Keywords while loop
Author Kamil Akhuseyinoglu
Institution University of Pittsburgh
Iframe URL https://pawscomp2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=PYTHON&set=py_win_percentage&ch=py_win_percentage_won_equal
Protocol PITT, HTML
Protocol URL
License MIT
Programming Language Python
Natural Language en

Preview