c1 = ['Russia', 'US', 'Germany'] c2 = ['007', '001', '049']   a = dict(Russia = ’007′, US = ’001′, Germany = ’049′ ) a {‘Germany’: ’049′, ‘Russia’: ’007′, ‘US’: ’001′}   b = {‘Russia’ : ’007′, ‘US’: ’001′, ‘Germany’: ’049′} b {‘Germany’: ’049′, ‘Russia’: ’007′, ‘US’: ’001′}   c = dict(zip(c1,c2)) c {‘Germany’: ’049′,…

© 2014 In R we trust.
Top
Follow us: