From 82bbded3da82fecaa1c121a0c70e09688587ab0f Mon Sep 17 00:00:00 2001 From: Satwik Kansal Date: Fri, 1 Sep 2017 22:24:47 +0530 Subject: [PATCH] Change the position of the notes. * Moves the position of the information regarding the Python version so that it is not skipped by the readers. * Also moves the position of the instructions for reproducing the "Skipping lines" example to just below the output. Closes https://github.com/satwikkansal/wtfPython/issues/17 --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7bab2367..e2e57c58 100755 --- a/README.md +++ b/README.md @@ -98,6 +98,8 @@ So, here ya go... # Structure of the Examples +**Note:** All the examples mentioned below are tested on Python 3.5.2 interactive interpreter, and they should work for all the Python versions unless explicitly specified in the example description. + All the examples are structured like below: ### Some fancy Title @@ -114,10 +116,9 @@ Probably unexpected output ``` (Optional): One line describing the unexpected output. -**Note:** All the examples mentioned below are run on Python 3.5.2 interactive interpreter unless explicitly specified. - #### 💡 Explanation: + * Brief explanation of what's happening and why is it happening. ```py Setting up examples for clarification (if necessary) @@ -151,6 +152,7 @@ Now, just run `wtfpython` at the command line which will open this collection in ### Skipping lines? +**Output:** ```py >>> value = 11 >>> valuе = 32 @@ -160,6 +162,8 @@ Now, just run `wtfpython` at the command line which will open this collection in Wut? +**Note:** The easiest way to reproduce this is to simply copy the statements from the above snippet and paste them into your file/shelll. + #### Explanation Some Unicode characters look identical to ASCII ones, but are considered distinct by the interpreter. @@ -171,8 +175,6 @@ Some Unicode characters look identical to ASCII ones, but are considered distinc 42 ``` -**Note:** The easiest way to reproduce this is to simply copy the statements from the above snippet and paste them into your file/shelll. - --- ### Well, something is fishy...