In [23]:
cohortperiod
=
[]
for
x
in
each_period
:
for
y
in
range
(
x
):
cohortperiod
.
append
(
y
)