Skip to content

Instantly share code, notes, and snippets.

@vipzero
Last active August 4, 2021 06:41
Show Gist options
  • Save vipzero/f0c66c0541f67cbb30de48d6511ac66c to your computer and use it in GitHub Desktop.
Save vipzero/f0c66c0541f67cbb30de48d6511ac66c to your computer and use it in GitHub Desktop.
ID: VBq6RlTf0 の hello world を解析する
__________________________________:... # 謎ブロックコメント?
written_by : id;VBq6RlTf0 : 2021/8/4 # コメントでなくコードか
__________________________________:...
class World:
Hello: (type)(type)(type)(type)(type)
# (type) は1つ以上であればいいみたい
class _:
a: int # python typing
import sys # メソッド化?
import math as sm # 不要
try:
try:
a = 1
3/0 # throw
except 1:
# 通らない
3/0
except:
# 通る
b: int
class Hello:
c: World
def byebye(c): c; return c.__name__
if None is None is None: # all で比較するので true
b = 1
if 1 in (*(*(1,),),) in ((1,),):
d: Hello
if a is b:
*(a, b), = __annotations__, '__annotations__', # 分割代入
if lambda x: x: string=a['d'].__name__ # string = 'Hello'
assert (
False, True
), print('HELLO, VIPPERS!!')
3j
c = (*(*(1,),),) == 1,
if c[0]:
-------------------------------1 # 数値評価
elif 1..imag: # わからん
email: 'yukiakari@choco.la'
elif ...:
string += byebye(**getattr(Hello, b)) # Hello.__annotations__[0].__name__
else:
-------------------------------1 # 数値評価
print(string)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment