Lemmy for LUS
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Gollum to Programmer Humor@programming.dev • 2 years ago

A fun simple game

i.imgur.com

message-square
7
fedilink
8

A fun simple game

i.imgur.com

Gollum to Programmer Humor@programming.dev • 2 years ago
message-square
7
fedilink
alert-triangle
You must log in or register to comment.
  • @blackn1ght@feddit.uk
    link
    fedilink
    2•2 years ago

    There’s Linux distro called suicide Linux that wipes your hard drive on any mistyped command.

    • @Rodeo@lemmy.ca
      link
      fedilink
      0•2 years ago

      I hope it comes preinstalled with sl and similar programs.

      • ferret
        link
        fedilink
        English
        0•2 years ago

        if you type sl it wipes your drive. No funny train for you

        • @const@sh.itjust.works
          link
          fedilink
          0•2 years ago

          Nah; it puts funny train to make you say phew then wipes your drive anyways!

  • @Synthead@lemmy.world
    link
    fedilink
    1•2 years ago

    You’ll get an OSError if you try to remove a directory with os.remove

    https://docs.python.org/3/library/os.html#os.remove

  • @theghostoutside_@aussie.zone
    link
    fedilink
    1•2 years ago

    Shouldn’t it be

    if guess != number
    

    Isn’t Russian Roulette played with one bullet in the chamber? Not five?

    • @const@sh.itjust.works
      link
      fedilink
      1•
      edit-2
      1 year ago

      It wouldn’t work anyways because decorator can’t be applied to variable setting
      Turn out I somehow mistook # as @

      Isn’t it also played with 6 slots instead of 10?

Programmer Humor@programming.dev

!programmer_humor@programming.dev
Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
  • 64 users / day
  • 448 users / week
  • 1.32K users / month
  • 4.61K users / 6 months
  • 3 subscribers
  • 1.36K Posts
  • 39.7K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.18.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org