I am learning python,
I am trying to merge keys['One', 'Two', 'Three'] and values [1, 2, 3] so I can get
a form of ==>: {'One': 1, 'Two': 2, 'Three': 3}
but it's not working with me in the below code.
Plus what is the difference if it was a form of ==>: ['One': 1, 'Two': 2, 'Three': 3] ?
please post the working code and explain how it works, try to make it works with long sets to.
keys = ['One', 'Two', 'Three']
values = [1, 2, 3]
after=values.join(keys)
print(after)