from PyTest import *
##//////////////////////////// PROBLEM STATEMENT //////////////////////////////
## We'll say that a "nsequence" in a string is a char appearing n times in   //
## a row. Given a string and an integer n, print the number of nsequences in //
## the given string. The nsequences may overlap. Use a function to count the //
## number of nsequences.                                                     //
##   "abcXXXabc" 3 -> 1                                                      //
##   "xxxabyyyycd" 3 -> 3                                                    //
##   "a" 2 -> 0                                                              //
##/////////////////////////////////////////////////////////////////////////////

d956840efe7801b4bf7f3bad4b51882f14d92fa1
<mask token>

from PyTest import *

from PyTest import *
##//////////////////////////// PROBLEM STATEMENT //////////////////////////////
## We'll say that a "nsequence" in a string is a char appearing n times in   //
## a row. Given a string and an integer n, print the number of nsequences in //
## the given string. The nsequences may overlap. Use a function to count the //
## number of nsequences.                                                     //
##   "abcXXXabc" 3 -> 1                                                      //
##   "xxxabyyyycd" 3 -> 3                                                    //
##   "a" 2 -> 0                                                              //
##/////////////////////////////////////////////////////////////////////////////
