Question: = = = , G = + 6 . 6 7 E - 1 1 , [ ( N ) ( m ) m 2

===,G=+6.67E-11,[(N)(m)m2kg2].
===,e=-9.28E-24,[JJ?T].,==
,==
And assign it to the variable ans2_d, which is initialized to an empty string to remind of what name to use. Note: CoCalc may try to make the units look like a hyperlink. It really should
just be the units inside square brackets, but both have equal width. There are spaces before J/T.
Again, use the same format specifier for each line.
Each line begins and ends with triple equal signs, have equal lengths, and are aligned on the single equal sign, the left square bracket, and the right, with units padded with space
to the left if necessary.
Important: LIke the last problem, don't play games with spaces (or plus signs, for that matter). Instead, rely on the tools of format codes to use the same string to generate both
of the lines and combine them appropriately.
Notes and Hints
The Unicode codepoint for the lowercase Greek letter mu is 03BC. Use this rather than copying and pasting the symbol from this prompt.
Your format specifier will have three format codes.
One will ensure the symbols have the same width and are right justified
The second will ensure the values display both + and - signs as well as enforcing two digits of precision in scientific (big E) notation
The third will enforce the width of the units is at least nine characters and that they are right justified.
= = = , G = + 6 . 6 7 E - 1 1 , [ ( N ) ( m ) m 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!