Jump to content

Python seems to have changed since I used it last.

I seem to remember having to write something like

system Println("Hello, World!")

Now, it's just

print("Hello, World!")

Then again, it has been around 10 years since I last used Python.

  1. colonel_mortis

    colonel_mortis

    In python 2 it would have looked like

    print "Hello, World!"

    but I'm not sure where you've got system Println from (afaik not python 1).

    In Java it's

    System.out.println("Hello, World!")

    so maybe that's what you're thinking of?

  2. lewdicrous

    lewdicrous

    The second one seems to be python3, not sure about the first one tho

  3. Crunchy Dragon

    Crunchy Dragon

    Hmm, that would make sense.

     

    I haven't coded in a long time, so it's entirely possible that my memory was faulty. I did a bit of Python a long time ago, and then messed with Java and Minecraft a while back.

  4. Crunchy Dragon

    Crunchy Dragon

    @lewdicrous I am using Python 3, yes.

     

    First one was my failed recollection of Python being corrupted by my more recent Java experience xD

×