We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe3e460 commit 2af410bCopy full SHA for 2af410b
README.md
@@ -12,7 +12,7 @@ test ="test"
12
=test.replace("test","")
13
x = True
14
print((x||False)?"Done":"Failed")
15
-print("Done") if x
+print('x is not defined') if !x
16
```
17
## Orginal Syntax
18
```python
@@ -29,8 +29,8 @@ test ="test"
29
test=test.replace("test","")
30
31
print("Done" if (x if 'x' in locals() else False) else "Failed")
32
-if x:
33
- print("Done")
+if 'x' not in locals():
+ print('x is not defined')
34
35
36
If you find this more complicated than original or more syntax should be added to it, feel free to edit YAML files with your preference
0 commit comments