While there is nothing wrong this, it is more concise to use the built-in method dict.get(key[, default]) from the Python Standard Library.
確定! 回上一頁