Hi all I have a list say
li = [13,2,13,4] Now i want to use random number such that the list modifies into a dictionary like this:- di = {13: 'abc',2:'def',13:'abc',4:'xyz'} Point to be noted is if the list contains the number it should generate the same random number. How can i achieve this ? Thanks in advance. -- Regards Nikhil Verma +91-958-273-3156 -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.