+ 4
PROGRAMMING CHALLENGE!
https://code.sololearn.com/cJqH7Xl0t9xG/?ref=app click on the link to see the challenge and to see an example!
1 Answer
+ 2
removestone=lambda s:len (s)-len ((lambda c:[a for [a,b] in zip(c,"~"+c) if a!=b])(s))
https://code.sololearn.com/cJqH7Xl0t9xG/?ref=app click on the link to see the challenge and to see an example!