Timeline for Removing unique elements from string
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 16, 2012 at 5:26 | history | edited | beary605 | CC BY-SA 3.0 |
added 20 characters in body
|
Oct 16, 2012 at 5:20 | comment | added | beary605 | @JBernardo: :( Dang. Thanks for notifying me. As you can see, I don't use 3.0. | |
Oct 16, 2012 at 4:23 | comment | added | JBernardo |
Python 3's filter returns an iterator... You'll need to do ''.join(...)
|
|
Oct 16, 2012 at 2:18 | comment | added | beary605 | @Strigoides: I have added a Python 3 code snippet to my answer. | |
Oct 16, 2012 at 2:18 | history | edited | beary605 | CC BY-SA 3.0 |
added 149 characters in body
|
Oct 16, 2012 at 2:03 | comment | added | Strigoides |
If you use python 3 instead, you can use input() rather than raw_input() . Although you have to add one character for a closing bracket, since print is a function in python 3.
|
|
Oct 11, 2012 at 3:46 | history | edited | beary605 | CC BY-SA 3.0 |
added 227 characters in body
|
Oct 11, 2012 at 1:21 | history | answered | beary605 | CC BY-SA 3.0 |