Skip to main content
Commonmark migration
Source Link

#Pyth, 41 bytes

Pyth, 41 bytes

&xrw0c"2 to too two t0"dxrw0c"b be bee b3 

Try it here!

Straightforward list lookup. Prints an empty list as falsy value and a non-empty list as truthy value.

Looking or a better way tho, I don't really like this one.

#Pyth, 41 bytes

&xrw0c"2 to too two t0"dxrw0c"b be bee b3 

Try it here!

Straightforward list lookup. Prints an empty list as falsy value and a non-empty list as truthy value.

Looking or a better way tho, I don't really like this one.

Pyth, 41 bytes

&xrw0c"2 to too two t0"dxrw0c"b be bee b3 

Try it here!

Straightforward list lookup. Prints an empty list as falsy value and a non-empty list as truthy value.

Looking or a better way tho, I don't really like this one.

Source Link
Denker
  • 6.9k
  • 1
  • 25
  • 69

#Pyth, 41 bytes

&xrw0c"2 to too two t0"dxrw0c"b be bee b3 

Try it here!

Straightforward list lookup. Prints an empty list as falsy value and a non-empty list as truthy value.

Looking or a better way tho, I don't really like this one.