Count Substring Repetitions

# Introduction In this lab, you need to create a function called `repetitions_in_string()` that takes a string as input and returns the number of times a substring is repeated in the given string, with a special consideration for cases where the string is not formed entirely by repetition of a single substring.

|60 : 00

Click the virtual machine below to start practicing