Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Answer

Commonmark migration
Source Link

#Python3, 72 bytes

Python3, 72 bytes

lambda n,s="123 456 789 741 852 963 42 753 86 26 159 84 ":n in s+s[::-1]

Input is taken as a string.

Golfing suggestions welcome! :D

#Python3, 72 bytes

lambda n,s="123 456 789 741 852 963 42 753 86 26 159 84 ":n in s+s[::-1]

Input is taken as a string.

Golfing suggestions welcome! :D

Python3, 72 bytes

lambda n,s="123 456 789 741 852 963 42 753 86 26 159 84 ":n in s+s[::-1]

Input is taken as a string.

Golfing suggestions welcome! :D

added 29 characters in body
Source Link
Yytsi
  • 3.8k
  • 1
  • 21
  • 35

#Python3, 72 bytes

lambda n,s="123 456 789 741 852 963 42 753 86 26 159 84 ":n in s+s[::-1]

Input is taken as a string.

Golfing suggestions welcome! :D

#Python3, 72 bytes

lambda n,s="123 456 789 741 852 963 42 753 86 26 159 84 ":n in s+s[::-1]

Golfing suggestions welcome! :D

#Python3, 72 bytes

lambda n,s="123 456 789 741 852 963 42 753 86 26 159 84 ":n in s+s[::-1]

Input is taken as a string.

Golfing suggestions welcome! :D

Source Link
Yytsi
  • 3.8k
  • 1
  • 21
  • 35

#Python3, 72 bytes

lambda n,s="123 456 789 741 852 963 42 753 86 26 159 84 ":n in s+s[::-1]

Golfing suggestions welcome! :D

AltStyle によって変換されたページ (->オリジナル) /