A forum for general discussion of the Python programming language.
I am trying to eleminate duplicate characters from the string. So I used set like this
It prints acb instead of abc.
may I know why
Last edited by Yoriz
on Wed Apr 24, 2013 3:53 pm, edited 1 time in total.
Reason: changed to a more descriptive title
- Posts: 1
- Joined: Wed Apr 24, 2013 2:19 pm
A set object is an unordered collection of distinct hashable objects.
- Posts: 1574
- Joined: Fri Feb 08, 2013 1:35 am
- Location: UK
Return to General Discussions
Who is online
Users browsing this forum: Bing [Bot], Yahoo [Bot] and 6 guests