From d87ef2bea1bd1108b88c996e8671bddd51c31e97 Mon Sep 17 00:00:00 2001 From: Asabeneh Date: Sat, 23 Nov 2019 22:47:57 +0200 Subject: [PATCH] restructuring and typo fixes --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index d086bcd..c6bc14f 100644 --- a/readme.md +++ b/readme.md @@ -47,7 +47,6 @@ - [String formating](#string-formating) - [“Old Style” String Formatting (% Operator)](#old-style-string-formatting--operator) - [“New Style” String Formatting (str.format)](#new-style-string-formatting-strformat) -- [Strings only](#strings-only) - [String Interpolation / f-Strings (Python 3.6+)](#string-interpolation--f-strings-python-36) - [Python strings as sequences of characters](#python-strings-as-sequences-of-characters) - [Unpacking characters](#unpacking-characters) @@ -913,8 +912,9 @@ print(formatted_string) # "The following are python libraries:['Django', 'Flask' ``` #### “New Style” String Formatting (str.format) This is formating is introduced in python version 3. -# Strings only + ```py + first_name = 'Asabeneh' last_name = 'Yetayeh' language = 'Python'