Are you supposed to put two *s? In that case you just put ** in the string you are making. If that’s supposed to be whitespace, then you need to pick :... to show 4 digits/spaces.
Actually it is impossible to print it out because 20 is not defined, 20 is the argument of the format method, more explain: the curly braces should take the variable of 20 while 20 is not defined according to the line you mentioned.
context:
a = variable
print(“The variable a is {}”.format(a))
With all my respect, this line is a part of a script or a part of the story only
In your example, name and billions are variables. In OP’s example, he is using the value20. format() accepts defined variables or simple numerical values.
if you take a close lookyou can see the code i posted here.
It asks me to complete the blank space (…) of the following command so the result is **20.0
Am i getting something wrong?Maybe they dont need to be printed but this is the exact translation of the sentence above it
If you combine the correct alignment symbol with the use of *, you’ll get what you want. It looks like you may also need to use the fixed point number format.