Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3676073 + 9bbb256 commit 8798eccCopy full SHA for 8798ecc
Notes/02_Working_with_data/03_Formatting.md
@@ -89,7 +89,7 @@ keyword arguments.
89
```python
90
>>> '{name:>10s} {shares:10d} {price:10.2f}'.format(name='IBM', shares=100, price=91.1)
91
' IBM 100 91.10'
92
->>> '{:10s} {:10d} {:10.2f}'.format('IBM', 100, 91.1)
+>>> '{:>10s} {:10d} {:10.2f}'.format('IBM', 100, 91.1)
93
94
>>>
95
```
0 commit comments