以下實例展示了keys()函數的使用方法: #!/usr/bin/python dict = {'Name': 'Zara', 'Age': 7} print "Value : %s" % dict.keys(). 以上實例輸出結果為:
確定! 回上一頁