Skip to content

Commit 8798ecc

Browse files
authored
Merge pull request dabeaz-course#126 from DrOculus90/patch-1
Update 03_Formatting.md
2 parents 3676073 + 9bbb256 commit 8798ecc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Notes/02_Working_with_data/03_Formatting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ keyword arguments.
8989
```python
9090
>>> '{name:>10s} {shares:10d} {price:10.2f}'.format(name='IBM', shares=100, price=91.1)
9191
' IBM 100 91.10'
92-
>>> '{:10s} {:10d} {:10.2f}'.format('IBM', 100, 91.1)
92+
>>> '{:>10s} {:10d} {:10.2f}'.format('IBM', 100, 91.1)
9393
' IBM 100 91.10'
9494
>>>
9595
```

0 commit comments

Comments
 (0)