App Academy

Bug/Mistake in the medding medley[solved]

I think i have found a bug in the medding medley duos problem’s given outputs

the mistake:

the output shoud be 1 since ‘s’ comes two times in the word ‘dinosaurs’

Not a bug. The problem states “… same character appears consecutively in the given string.” In the case for “dinosaurs”, the character “s” doesn’t come right after the other so it doesn’t increase the count. Hope this clears it up for you :smiley: