Python program to get. # dictionary keys as list. def getList( dict ):. list = []. for key in dict .keys():. list .append(key). return list.
確定! 回上一頁