From 1a68ccf88aeca3adf2dc3d324a710f21d0b41ec6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Wed, 18 Apr 2018 02:01:26 +0200 Subject: [PATCH] Format --- README.md | 4 ---- 1 file changed, 4 deletions(-) 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' ```