Nono it's surely possible. Since the period is the most difficult part of the homework I really hope that it doesn't depend on the length of the verses as the text of the homework says...
''' From the prosodic structure you should find the period, i.e. the minimum length of verses that repeats with the same schema.
In this example the period is 5, in facts the prosody is obtained by repeating twice the [0, 1, 1, 2, 0] schema,
since the sequence [0, 1, 1, 2, 0] has the same schema of [3, 4, 4, 5, 3] '''
It says clearly that the period must be found from the prosodic structure, so the fact that in the tests there aren't cases in which the length of the verses doesn't follow the scheme of the module I hope it's just a coincidence. Btw would be really appreciated an answer from a prof.