4

Hope you like it.
This time no water marks...
LOL

Comments
  • 5
    I have a statement
    I have no semicolons
    Ah!!
    NO ERRORS!!

    Love Python
  • 0
    @RedBorg don't f**k me
    XD
  • 0
    @RedBorg programming without semicolons destroys the fun, it like cheating on your favourite game.
    It make reading efficient.
    Normal programming:
    $x = 3 * 3 + 2 / 5
    * 10 - 2 * 5 * 4 % 5; // too long so i broke to 2 lines
    Python:
    x = 3 * 3 + 2 / 5
    * 10 - 2 * 5 * 4 % 5

    Its difficult to find the ending statememt, so keep on with the semicolon :P
  • 1
    The ending statement in Python is always at the end of it, if it's not a statement that's supposed to be a one-liner or a statement that contains more than 1 line. In the last case,it's at the end of the last line's end.
  • 1
    @gitpull then can you this in python?
    x = 1; y = 3; z = 4;
  • 1
    @Rinmawia in py2.7, yes.
    There's also 3.6.
    I'm working with 2.7 only
  • 0
    @Rinmawia you cam stack statements with “;” , but in your example, you just use some pythonnicnness magic and do “x, y, z = 1, 3, 4”

    And btw, if you put a “\” at the end, it will continue to the other line
  • 0
    And also if you have something like

    some_func(0, 1, 1, 2, lol(lol(lol(“yui”))), 5, 8)

    You can do

    some_func(
    0,
    1,
    ...,
    lol(
    lol(...
    ),
    5,
    8
    )
  • 0
    @RedBorg impressive, can we use it as a templating engine like php, cause i know that python is also used for web development
Add Comment