Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

All codes must be Python. 4.) Phi is described as the golden number. It is 1.6180339 Write a program: Create a variable to reference Phi,

image text in transcribed

All codes must be Python.

4.) Phi is described as the "golden number. It is 1.6180339 Write a program: Create a variable to reference Phi, then print it with 2 points of floating point precision using f-string -- Output Example --- Phi equals 1.61 5.) Write the following python program Create 2 variables: first and last. first should be a reference to 'bruce' last should be a reference to 'springsteen' Use a print statement and f-strings to produce the output -- Output Example --- Yo, Bruce Springsteen, you rock! --- 6.) Write the following Python program You must use Python math to calculate the solution You must reference the variable in your print statement. Create a variable named solution. In a single Python statement, add 9 and 9, then divide that sum by 3. Store the solution in your variable. Use a print statement to identically match the output below. Incorrect: print("If I add nine to nine and then divide by three, the solution is 6") --- Output Example --- If I add nine to nine and then divide by three, the solution is 6. 7) Elon Musk's net worth is estimated to be 188 billion dollars. Write a Python program which assigns this integer to a variable in a human-readable way. You must reference the variable in your print command. --- Output Example --- Elon Musk's net worth is estimated to be $188000000000

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

Focus On Geodatabases In ArcGIS Pro

Authors: David W. Allen

1st Edition

1589484452, 978-1589484450

More Books

Students also viewed these Databases questions

Question

What are some of the bases for establishing a transfer price?

Answered: 1 week ago

Question

What is the purpose of the EEOC?

Answered: 1 week ago