4 ms·
597 bytes of Python: : d="""ou@on@he@ell@ w@ay it : @ otUr@BVna @make4 @ve@'re@ing@t's been@ a@ : (Ooh@o @ g@ : YX@ t@ know@nd @ : N2@ how
by ColinWright 14y ago
597 bytes of Python:
: d="""ou@on@he@ell@ w@ay it
: @ otUr@BVna @make4 @ve@'re@ing@t's been@ a@
: (Ooh@o @ g@
: YX@ t@ know@nd @
: N2@ how I'm feelJ
: @iL4 up@6)E)8giL, n2giL
: (G@ yX@
: I justSannaxT47Gotta Munderstand0@eLrP@
:
: We'Lqn eachQ for sClVgzr UarHFchJ butzKxoCshyxCsRInsideSe bothqShaHBoJ V
: WeqxUBameF9weKPplR@
: 8g68let4 down8runFrX9a9desert48Mcry8sayBoodbye8tTF lieF9hurt4@WeK nCstrangersxCloLzqxU rulesF9sCdCI
: A full commitment'sShat I'mxhinkJ ofzSXldn'tBetxhis fromFnyQBuy31A9if4Fsk me7DV'txT me4KxoCbli9tCsee00
: E,B6)E,B556)1300
: """
: for s in 'XVUTSRQPMLKJHFECBzxq9876543210':
: a,b=d.split('@',1)
: d=b.replace(s,a)
: print d
I could make it a little better, but could only spend 30 minutes or so.
Added in edit: a small tweak gets it to 594 bytes - not included here.
- goatforce5 14y ago"not included here." Didn't we learn anything from Fermat?
- ColinWright 14y agoOK, 589 bytes: : d="""ellU wTay it : S otherRConna Qmake4 PveMndL aK'reJingHt's beenFo E gC : (OohB : Youz txKL q know9 : N28 how I'm feelH : 7iM4 up66)B)8giM, n2giM : (G5 you4 : I justTannaxU47Gotta PuLerstaL03eMrQ2 : : We'M9n eachR for sElongzr hearFKchH butzJxoEshyxEsSInsideTe both9ThaFCoH on : We9xheCameqweJQplS1 : 8g68let4 down8runKrouLqdesert48Pcry8sayCoodbye8tUK lieqhurt40WeJ nEstrangersxEloMz9xhe rulesqsEdEI : A full commitment'sThat I'mxhinkH ofzTouldn'tCetxhis fromKnyRCuy31AL if4Ksk me7Don'txU me4JxoEbliLxEsee00 : B,C6)B,C556)1300""" : for s in'UTSRQPMLKJHFECBzxq9876543210':a,b=d.split(s,1);d=b.replace(s,a) : print d
- jholman 14y agoYou can hardly blame ColinWright; although his tweak is truly marvelous, it is one which this textfield is too narrow to contain.