You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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.
Closessatwikkansal#17
Copy file name to clipboardExpand all lines: README.md
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,8 @@ So, here ya go...
98
98
99
99
# Structure of the Examples
100
100
101
+
**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.
102
+
101
103
All the examples are structured like below:
102
104
103
105
### Some fancy Title
@@ -114,10 +116,9 @@ Probably unexpected output
114
116
```
115
117
(Optional): One line describing the unexpected output.
116
118
117
-
**Note:** All the examples mentioned below are run on Python 3.5.2 interactive interpreter unless explicitly specified.
118
-
119
119
120
120
#### 💡 Explanation:
121
+
121
122
* Brief explanation of what's happening and why is it happening.
122
123
```py
123
124
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
151
152
152
153
### Skipping lines?
153
154
155
+
**Output:**
154
156
```py
155
157
>>>value=11
156
158
>>> valuе =32
@@ -160,6 +162,8 @@ Now, just run `wtfpython` at the command line which will open this collection in
160
162
161
163
Wut?
162
164
165
+
**Note:** The easiest way to reproduce this is to simply copy the statements from the above snippet and paste them into your file/shelll.
166
+
163
167
#### Explanation
164
168
165
169
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
171
175
42
172
176
```
173
177
174
-
**Note:** The easiest way to reproduce this is to simply copy the statements from the above snippet and paste them into your file/shelll.
0 commit comments