folkerschamel,
@folkerschamel@mastodon.social avatar

⁉️ time!

What is the result of the following Python expression?

Why?

[x for x in range(2, 1000) if all(range(x + 1)[::y][-1] != x for y in range(2, x))]

Enjoy!🙃

(Another riddle is https://mastodon.social/@folkerschamel/110867567641826240)

tikhonov_a,
@tikhonov_a@mastodon.social avatar

@folkerschamel where do you get these riddles from? 😆

folkerschamel,
@folkerschamel@mastodon.social avatar

@tikhonov_a Isn't a crazy clown in all of us?😆

  • All
  • Subscribed
  • Moderated
  • Favorites
  • python
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • anitta
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • provamag3
  • tester
  • Leos
  • megavids
  • JUstTest
  • All magazines