why is the order different in the below.
Edit:
Also what is the correct solution for this,i.e, remove duplicates and preserve order
def rt(s):
  s = list(s)
  print s
  print set(s)
print rt('abc')
Output
['a', 'b', 'c']
set(['a', 'c', 'b'])
None
 
     
     
     
     
    