Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

how can I make this python program in another way. Editor-C ers ro had esktop python hitro ctbizootus Ratrgfy aPo2convert Jnut.py 3 apoSionenpy asser ratng,py

how can I make this python program in another way.

image text in transcribed

image text in transcribed

image text in transcribed

Editor-C ers ro had esktop python hitro ctbizootus Ratrgfy aPo2convert Jnut.py 3 apoSionenpy asser ratng,py n py"3 source Angel Ramirez CP04 Pass_Ratings 9 2/26/2019 10 Calculates the pass rating of Football Quarterbacks and gives them a quality rating 12 Algorithm: 13 0. Defines 2 functions a. rating: to calculate the number rating of quarterback stat, returns int b. quality: to take the rating and give a quality score of 'poor mediocre, 'goo returns string 17 18 19 20 21 1. prints welcome text 2. prompts user for individual stats for said quarterback 3. calls rating 4.calls quality 5. prints user given stats and pass rating in organized columns Variab IPython 22. 6. prints the quality score for quarterback's perfomance. 23 "n 25 #imports A 26 import string In [7] 28 completions - int(input("How many pass completions: ") 30 attempts int(input("How many pass attempts: ")) 32 total - int (input ("How many passing yards: ") 34 interceptions - int(input ("How many interceptions: ")) 36 touchdowns int (input ("How many touchdowns: ")) 38 def rating(completions, attempts, total, touchdowns, intercept ions): How man How man How man How many How many Complet 1 39 #calculates the number of pass completions per attempt This pla This pla 41 c (((completions/attempts) . * 100)-30)/20 IPython cor PermissC 0 Type here to search

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Database Technology Edbt 88 International Conference On Extending Database Technology Venice Italy March 14 18 1988 Proceedings Lncs 303

Authors: Joachim W. Schmidt ,Stefano Ceri ,Michele Missikoff

1988th Edition

3540190740, 978-3540190745

More Books

Students also viewed these Databases questions