The has_key() method was provided in Python2, but it has been removed in Python3. To get the value for a key, use dict[key] . print(d ...
確定! 回上一頁