"The default value for the to argument is evaluated only once when the function is defined, not each time the function is called. This means that if you call append_to multiple times without specifying the to argument, instead of getting separate lists, you will be appending to the same list over "

rawwellrawwell のブックマーク 2024/04/03 14:54

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

tell me a classic python gotcha. write in prose.

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう