As a replacement - not so blatant - homework you could try ...
Remove[taF]
taF[\[Alpha]_, \[Beta]_, n_?Positive, len1_: 1, len2_: 2/5] :=
Graphics[Line[
Join[{{0, 0}}, AnglePath[{len1 + len2, 0},
Transpose[{Flatten[ConstantArray[{len1, len2}, n], 1],
Join[{\[Alpha]}, Differences[Flatten[Table[{o \[Alpha], o \[Beta]}, {o, 1, n}], 1]]]}]]]]]
compare it with yesterday's implementation