def pary(s): ile = 0 for i in range(len(s) - 1): if s[i] == s[i + 1]: ile += 1 return ile
Standard input is empty
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!