Title Calculating the Winning Percentage of a Sports Team (Case 2)
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_input
Platform Name PCEX
Features
Description Construct a program that receives from the user the number of games in a tournament and the number of the games that a sports team won in the tournament, and calculates the winning percentage of that sports team. 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_input
Protocol PITT, HTML
Protocol URL
License MIT
Programming Language Python
Natural Language en

Preview