Skip to main content
Golfed off 4 bytes
Source Link
The Thonnu
  • 18.3k
  • 3
  • 16
  • 74

Python + golfing-shortcuts, 165165 161 bytes

A port of gcq's answer.

from s import*
def F(Y):R=lambda N:sj("".join,(Sl[Sl.find(I)-N]for I in Y));S={s("etaoinshrdlcumwfgypbvkjxqz".find(B)for B in R(A)):(A,R(A))for A in r(26)};return ;p(S[q(S)])

Python + golfing-shortcuts, 165 bytes

A port of gcq's answer.

from s import*
def F(Y):R=lambda N:"".join(Sl[Sl.find(I)-N]for I in Y);S={s("etaoinshrdlcumwfgypbvkjxqz".find(B)for B in R(A)):(A,R(A))for A in r(26)};return S[q(S)]

Python + golfing-shortcuts, 165 161 bytes

A port of gcq's answer.

from s import*
def F(Y):R=lambda N:sj("",(Sl[Sl.find(I)-N]for I in Y));S={s("etaoinshrdlcumwfgypbvkjxqz".find(B)for B in R(A)):(A,R(A))for A in r(26)};p(S[q(S)])
Source Link
The Thonnu
  • 18.3k
  • 3
  • 16
  • 74

Python + golfing-shortcuts, 165 bytes

A port of gcq's answer.

from s import*
def F(Y):R=lambda N:"".join(Sl[Sl.find(I)-N]for I in Y);S={s("etaoinshrdlcumwfgypbvkjxqz".find(B)for B in R(A)):(A,R(A))for A in r(26)};return S[q(S)]