Hi@akhtar
You can convert a dictionary dataset into a list using items() function. I have attached an example for your reference.
- Initialization of dictionary
$ dict = { 'Jack': 10, 'Pop': 12, 'Bob': 31 }
- Converting into a list of tuple
$ list = list(dict.items())
$ print(list)
[('Jack', 10), ('Pop', 12), ('Bob', 31)]