From efb2cf8798edc3878a874dbe4c427a2e1e8139a5 Mon Sep 17 00:00:00 2001 From: Randy8080 Date: Wed, 10 Feb 2021 10:07:39 +0800 Subject: [PATCH] Use consistent indentation --- python.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python.md b/python.md index 7fcb52c..669fd5f 100644 --- a/python.md +++ b/python.md @@ -104,7 +104,7 @@ See: [Loops](#loops-2) ### Functions ```python >>> def my_function(): -... print("Hello from a function") +... print("Hello from a function") ... >>> my_function() Hello from a function @@ -117,7 +117,7 @@ See: [Functions](#functions-2) ```python with open("myfile.txt", "r", encoding='utf8') as file: for x in file: - print(x) + print(x) ``` See: [File Handling](#file-handling-2)