A post about how this community’s banner used the python 2 print syntax - print "Hello World" - made me question, can we print a hello world message in Python 3 without using parentheses?

It turned out to be sort of a fun challenge, I’ve found 3 different approaches that work. I’d be interested to see what you come up with! (it seems I can’t put spoilers in Lemmy, so I won’t share my solutions yet in case y’all want to have a go).

Edit: Posted my solutions in the comments

    • @[email protected]
      link
      fedilink
      English
      51 year ago

      Same on Jerboa. Though given the apps’ fast development progress we probably won’t have to wait too long :)

      • @pythonoob
        link
        English
        11 year ago

        Not working on connect either