Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sandal
on Dec 19, 2010
|
parent
|
context
|
favorite
| on:
I was forced to write a blog post. So I made a co...
Huh?
>> a.index("P") => 14 >> b.index("P") => 15 >> c.index("P") => 218 >> d.index("P") => 40
olalonde
on Dec 21, 2010
[–]
Sry, bug in my code, I only tested the first 2 strings.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: