OUTPUT:Average scores for tests:Test # 1 : 16.0Test # 2: 17.0Test # 3 : 18.0CODE:students =[[11,12,13][21, 22,23]]avgs =

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

OUTPUT:Average scores for tests:Test # 1 : 16.0Test # 2: 17.0Test # 3 : 18.0CODE:students =[[11,12,13][21, 22,23]]avgs =

Post by answerhappygod »

OUTPUT:Average scores for tests:Test # 1 : 16.0Test # 2: 17.0Test # 3 : 18.0CODE:students =[[11,12,13][21, 22,23]]avgs = []# Write your code here:print('Average scores for tests: ')for i, avg in enumerate (avgs):print('Test #', i + 1, ':', avg)
OUTPUT:
Average scores for tests:
Test # 1 : 16.0
Test # 2: 17.0
Test # 3 : 18.0
CODE:
students =[
[11,12,13]
[21, 22,23]
]
avgs = []
# Write your code here:
print('Average scores for tests: ')
for i, avg in enumerate (avgs):
print('Test #', i + 1, ':', avg)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply