Home
Flutter
Python
Android
ReactNative
C Tutorial
Q & A
Quiz
Forum
Kotlin
Java
Ruby
Source Code
Dart
Widget Catlog
Write For Us
DevOps
Vocabulary
Tutorials
Git
Jobs
XApk
DevOps
Blog
Sitemap
SubScribe
Python program to Group Dictionaries into Lists
dict = {
'one'
:
1
,
'two'
:
2
,
'three'
:
3
} x = [[y
,
z]
for
y
,
z
in
dict.items()]
print
(x)
Output:
[['one', 1], ['two', 2], ['three', 3]]
Run Python Online