Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

can you help me see whats wrong and help w the 3rd task Tutorial #4: For Loops Aun the following cell to create a new

can you help me see whats wrong and help w the 3rd task image text in transcribed
Tutorial #4: For Loops Aun the following cell to create a new list: in (1) A_210t - 157.9, 108.2, 149.6, 227.9, 778.6, 1033.5, 2872,5, 4095.11 Those are the semi-major axes of the planets in milions of km. Write a for loop that will create a new list of these distances in Au. For reference, 1 AU = 1.49668 km. Print out this new list. In 2) blat 1) for x in range (0,8). blist.append(riost(a_list)/1.49600) TypeError Traceback (most recent call last) in codules 2 0 3 for x in range 0.3) b_list.append(float(a_list)/1.6965) typeError float() argument must be a string or a number, not list U-O Create a new list of the periods of these planets, Print this new list as well. For reference, Kepler's law states that p? -d', where in the period in years, and a is the major axis in Au. InsecPerYear - 3.1507 for u in range, Penumpy.asarray(at)*) 1 print('p in years - (1.28) .format(D/Peryon Venus is the 2nd planet from the Sun. Uso indexing (e... name of listindex]) to calculate Venus' period in days. Now, write in a formatted print statement lecture 02) the period of Venus in days. Give the value to two decimal places of precision. Remember: one year is 365.25 days.) In

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

Database Concepts

Authors: David Kroenke

4th Edition

0136086535, 9780136086536

More Books

Students also viewed these Databases questions

Question

=+1 What would you do if you were the IHR manager?

Answered: 1 week ago