Is there a way to take a lists first element of a list and make it the first items key and second element make it the first items value in python
I have come across a small problem when working on a particular programming exercise
In this exercise i am supposed to get data from a file which contains world series winning teams
Is there a way to take a lists first element of alist and make it the first items key and second element make it the first items value in python
I am newbie in python less thane 2 months i have come across a small problem when working on a particular programming exercise
In this exercise i am supposed to get data from a file which contains world series winning teams