mirror of
https://github.com/Fechin/reference.git
synced 2026-11-21 05:24:10 +03:00
Update python.md
Add common name for the "one line" operation
This commit is contained in:
1 parent
7b3b3dfd71
commit
50aad6b9d0
1 file changed
+1
-1
@@ -800,7 +800,7 @@ else:
|
||||
print("num is indeed 10.")
|
||||
```
|
||||
|
||||
### One line
|
||||
### One line (ternary operator)
|
||||
|
||||
```python
|
||||
>>> a = 330
|
||||
|
||||
Reference in new issue
Block a user