[DVDBurn] Remove unnecessary complication

Status
Not open for further replies.

GitHub

Moderator
[DVDBurn] Remove unnecessary complication

Python 2.7.16 (v2.7.16:413a49145e, Mar 4 2019, 01:37:19) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> {1:2, 3:4}.items()
[(1, 2), (3, 4)]
>>>
>>> for k,v in {1:2, 3:4}.items():
... print k, v
...
1 2
3 4
>>>
>>> for k,v in {1:2, 3:4}.iteritems():
... print k, v
...
1 2
3 4
>>>

------------------------------------------------------

Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 22:45:29) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> for k,v in {1:2, 3:4}.items():
... print(k, v)
...
1 2
3 4
>>>

Continue reading...
 
Status
Not open for further replies.
Back
Top