1
0
Fork 0
mirror of https://github.com/satwikkansal/wtfpython synced 2025-07-04 20:38:06 +02:00

Configure Nox and basic Poetry support

- Use new structure for code blocks in README
This commit is contained in:
Vadim Nifadev 2024-10-24 07:53:10 +03:00
parent 6abea7bb3e
commit f25156107b
6 changed files with 225 additions and 37 deletions

View file

@ -0,0 +1,19 @@
# 1
assert id("some_string") == id("some" + "_" + "string")
assert id("some_string") == id("some_string")
# 2
a = "wtf"
b = "wtf"
assert a is b
a = "wtf!"
b = "wtf!"
assert a is b
# 3
a, b = "wtf!", "wtf!"
assert a is b
a = "wtf!"; b = "wtf!"
assert a is b

0
snippets/__init__.py Normal file
View file