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
Copy file name to clipboardExpand all lines: README.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -115,7 +115,17 @@ From the Zen again,
115
115
There should be one-- and preferably only one --obvious way to do it.
116
116
```
117
117
118
+
### 10. Naming identifiers can be unspeakably cool
119
+
Just when you thought that working in Python couldn't possibly *be* any more fun,
120
+
```
121
+
>>> from math import pi
122
+
>>> π = pi
123
+
>>> area = π * r**2
118
124
125
+
>>> résumé = 'knows Python'
126
+
>>> 'Python' in résumé
127
+
True
128
+
```
119
129
120
130
## Notes
121
131
1. Easiest hello world program in a language without calling any function
@@ -127,6 +137,7 @@ There should be one-- and preferably only one --obvious way to do it.
127
137
7. Guido van Rossum is a big fan of [Monty Python's Flying Circus](https://en.wikipedia.org/wiki/Monty_Python%27s_Flying_Circus)
128
138
8. It's a substitution cipher called [ROT13](https://en.wikipedia.org/wiki/ROT13)
129
139
9. In many languages there are two ways to do the same thing `--no` and `no--`. The message has a hidden example in itself
140
+
10. Support for unicode character set for naming identifiers was added in Python3. Though, it is not explicitly preferred while writing code, it adds flavour to working with scientific formulas.
0 commit comments