Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dates_list = ['2011-05-01','2011-05-02','2011-05-03']
- count_list = ['100','200','300']
- dates_count_tuple = {}
- for i in range(len(dates_list)):
- dates_count_tuple[thisdate[i]] = count_list[i]
- #i want a tuple in the format
- ['2011-05-01':'100', '2011-05-02':'200', '2011-05-03':'300']
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement