formkeys() method to create keys for the data in the list. cities = ['Lahore', 'Karachi', 'Multan'] # every key will have value 'Pakistan' result = dict.
確定! 回上一頁