Answer the question
In order to leave comments, you need to log in
How to remove the indent between the answer and the phrase (x=_1.0)?
print('x=',x,'y1={0:.2f}'.format(y1),'y2={0:.2f}'.format(y2))
Answer the question
In order to leave comments, you need to log in
>>> x, y1, y2 = 1.0, -0.99, 0.48
>>>
>>> print('x={} y1={:.2f} y2={:.2f}'.format(x, y1, y2))
x=1.0 y1=-0.99 y2=0.48
>>>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question