39
2
Description
Output the rhyme scheme for a very long Terza Rima.
Input
None.
Output
ABA
BCB
CDC
DED
EFE
FGF
GHG
HIH
IJI
JKJ
KLK
LML
MNM
NON
OPO
PQP
QRQ
RSR
STS
TUT
UVU
VWV
WXW
XYX
YZY
Rules
You can pick between separating stanzas with whitespace or newlines, so either:
ABA BCB...
OR
ABA
BCB
...
A single trailing whitespace allowed per line and one trailing newline allowed.
Output can be either uppercase or lowercase.
This is code-golf, so the shortest code in bytes for each language wins.
4Is a list of lines okay? – totallyhuman – 2017-12-18T16:23:26.547
6
According to https://en.wikipedia.org/wiki/Terza_rima your ending is wrong. It should end with either Z or ZZ.
– Chris – 2017-12-18T18:28:37.077Can there be additional output beyond the rhyme scheme? This might save me a few bytes. – NK1406 – 2017-12-18T23:02:22.013
@NK1406 Nope sorry. – LiefdeWen – 2017-12-19T07:13:54.583
1@totallyhuman String array is fine. – LiefdeWen – 2017-12-19T07:14:10.807
@Chris I found it here. Which says it can be YZY,
– LiefdeWen – 2017-12-19T07:15:00.460@LiefdeWen: Huh. Weird. Sadly I don't know which is correct or I'd edit wikipedia to be consistent. :) – Chris – 2017-12-19T17:15:58.007
Related – FlipTack – 2017-12-19T22:22:44.917
@LiefdeWen From your Wiki I see “YZY/Z” or “YZY/ZZ” or “YZY/ZYZ.” No “YZY and that’s it.” – DonielF – 2018-01-02T15:18:09.370