Complete the formatting to have the following output.

' Root 0.23'

'{:
}{:
}' .format('Root', 0.2345789)



The answer choices for the first blank space are >8, <8, and ^8. The answer choices for the second blank space are 2.4f and 4.2 f

Respuesta :

Answer:

^8

4.2f

Explanation:

'{:^8}{:4.2f}' .format('Root', 0.2345789)

The ^ symbol centers 'Root' in a field eight characters wide.

4.2f rounds to two decimal places and places the number in a field 4 characters wide.

Answer:

1. ^8

2. 4.2f

Explanation:

'{:^8}{:4.2f}' .format('Root', 0.2345789)

The ^ symbol centers 'Root' in a field eight characters wide.

4.2f rounds to two decimal places and places the number in a field 4 characters wide.

and because i got it right on edge.

ACCESS MORE
EDU ACCESS
Universidad de Mexico