![xJoel4199](/avatars/15941.jpg)
xJoel4199
18.09.2019 •
Computers and Technology
Avertical curve means that any change in the aggregate price level will have what result?
a. a decrease in gdp
b. an increase in gdp
c. no change in gdp
Solved
Show answers
More tips
- S Style and Beauty How to Get Rid of a Double Chin?...
- F Food and Cooking How to Cook Julienne? Recipes and Tips...
- D Dating, Love, Relationships 10 Useful Tips on How to Survive a Breakup?...
- F Food and Cooking Apple Cider Vinegar: The Ultimate Health and Beauty Solution...
- C Computers and Internet Е-head: How it Simplifies Life for Users?...
- F Family and Home How to Choose the Best Diapers for Your Baby?...
- F Family and Home Parquet or laminate, which is better?...
- L Leisure and Entertainment How to Properly Wind Fishing Line onto a Reel?...
- L Leisure and Entertainment How to Make a Paper Boat in Simple Steps...
- T Travel and tourism Maldives Adventures: What is the Best Season to Visit the Luxurious Beaches?...
Answers on questions: Computers and Technology
- C Computers and Technology Driving is expensive. Write a program with a car s miles/gallon and gas dollars/gallon (both floats) as input, and output the gas cost for 20 miles, 75 miles, and 500 miles. Output...
- M Mathematics In the power function f(x) = 3x , what is the end behavior of f(x) as x goes to -o0 O a) f(x) - 00 Ob) f(x) = -5 c) f(x) → 0 d) f(x) → 5 e) f(x) --00...
- M Mathematics X=2 3x+4y=2 -6 4y=-4 y=1...
- H History Which of the following actions might be appropriate in urging the local government to establish a pet park? Select all that apply. e-mail city council members talk to friends ask...
- M Mathematics The diagonal of a cube is 20 cm. Identify the length of an edge. Round to the nearest tenth, if necessary....
- E English What are three biographical facts that connected Rudyard Kipling to how the rhinoceros got his skin...
- M Mathematics 15. write each of these number as the product25the product of prime numbers...
- B Biology Do antimicrobials affect bacteria or do bacteria affect antimicrobials?...
- L Law Why does Dr Ambedkar express doubts about India s democratic system in India...
- H History do you think Ford was right in pardoning (forgiving nixon) Why ? 1-3 sentences please (BRAINLIEST ANSWR)...
Ответ:
quarterback_stats = {
'Aaron Rodgers': {'COMP': 371, 'YDS': 4925, 'TD': 39, 'INT': 8},
'Peyton Manning': {'COMP': 400, 'YDS': 4659, 'TD': 37, 'INT': 11},
'Greg McElroy': {'COMP': 19, 'YDS': 214, 'TD': 1, 'INT': 1},
'Matt Leinart': {'COMP': 16, 'YDS': 115, 'TD': 0, 'INT': 1}
}
print("2012 quaterback statistics: ")
print("Passes completed: ")
for qb in quaterback_stats.keys():
print(f"{quaterback_stats[qb]} : {quaterback_stats[qb]['COMP']}")
print("Passing yards:")
for qb in quaterback_stats.keys():
print(f"{quaterback_stats[qb]} : {quaterback_stats[qb]['YDS']}")
print("Touchdown / interception ratio")
for qb in quaterback_stats.keys():
if quaterback_stats[qb]['TD'] > 0 and quaterback_stats[qb]['INT'] > 0:
print(f"{quaterback_stats[qb]} : {float(quaterback_stats[qb]['TD']) / float(quaterback_stats[qb]['INT])}")
else:
print(f"{quaterback_stats[qb]} : {0.0}")
Explanation:
The python program gets data from a dictionary called quaterback_stats which holds the data of football players with their names as the keys and a list of records as the value.
The program prints the individual records from the dictionary using a for loop statement on the list of dictionary keys (using the keys() method).