How do I set this up in EDLE python? what would be the correct answer Given the following list containing inner planet

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: 899603
Joined: Mon Aug 02, 2021 8:13 am

How do I set this up in EDLE python? what would be the correct answer Given the following list containing inner planet

Post by answerhappygod »

How do I set this up in EDLE python? what would be the
correct answer
Given the following list containing inner planet weights in kg,
select the choice which fills in the blank to provide a list slice
which extracts the weight from the list into a separate list named
"weights" to produce the output shown.
innerPlanetWeights = ['Mercury', 3.285e23,

'Mars', 6.39e23,

'Earth', 5.972e24]
weights = ____________________
print(weights)
Output:
[3.285e+23, 6.39e+23, 5.972e+24]
innerPlanetWeights[1::2]
innerPlanetWeights[0::2]
innerPlanetWeights[0:6]
innerPlanetWeights[0::3]
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply