diff --git a/README.md b/README.md index b806c15..4707b76 100644 --- a/README.md +++ b/README.md @@ -214,10 +214,6 @@ re.split(, text, maxsplit=0) # Use brackets in regex to keep the matches >>> person = {'name': 'Jean-Luc', 'height': 187.1} >>> '{p[height]:.0f}'.format(p=person) '187' -``` - -#### Or: -```python >>> f"{person['height']:.0f}" '187' ```