파이썬에는 왜 삼항식이 없을까 가끔 아쉬워 했는데 그냥 내가 몰랐던거다.
a if true else b
이렇게 쓰면 되는거였다. 이 어찌나 당연한걸 안 쓰고 있었던걸까.
Name (required)
Mail (will not be published) (required)
Website