# 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.
Click the virtual machine below to start practicing