I need to display a string on multiple lines at a set interval. For example
if the string is ABCDEFGHI
and the interval is 3 then it needs to print
ABC
DEF
GHI
Right now, I have a function with 2 inputs
def show_string(chars: str, interval: int) -> str:
...
Please help!