Skip to main content
deleted 3 characters in body
Source Link
Henry Ecker
  • 35.9k
  • 19
  • 48
  • 67

list(newdict) works in both Python 2 and Python 3, providing a simple list of the keys in newdict. keys() isn't necessary. (:

list(newdict) works in both Python 2 and Python 3, providing a simple list of the keys in newdict. keys() isn't necessary. (:

list(newdict) works in both Python 2 and Python 3, providing a simple list of the keys in newdict. keys() isn't necessary.

dict is a reserved keyword but was used as variable name
Source Link

list(dictnewdict) works in both Python 2 and Python 3, providing a simple list of the keys in dictnewdict. keys() isn't necessary. (:

list(dict) works in both Python 2 and Python 3, providing a simple list of the keys in dict. keys() isn't necessary. (:

list(newdict) works in both Python 2 and Python 3, providing a simple list of the keys in newdict. keys() isn't necessary. (:

added 4 characters in body
Source Link

list(dict)list(dict) works in both Python 2 and Python 3, providing a simple list of the keys in dict. keys()keys() isn't necessary. (:

list(dict) works in both Python 2 and Python 3, providing a simple list of the keys in dict. keys() isn't necessary. (:

list(dict) works in both Python 2 and Python 3, providing a simple list of the keys in dict. keys() isn't necessary. (:

Source Link
Seb
  • 891
  • 6
  • 7
Loading