Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:instant disqualification (Score 1) 648

Furthermore you need to indent it properly.

It was a single expression after the print. Python allows him indent it any way he wants to. He could have arranged the expression into a variety of pretty cascaded tree shapes similar to lisp code (especially if he slapped one more set of parens around the whole thing), and Python would have parsed it just fine. Leaving it on one line works just as well, as would random indentation.

Python's block indentation rules applies only to statements.

Submission + - Slashdot poll: Best cube 3

An anonymous reader writes: 1. Rubik Cube
2. The Cube (movie)
3. Tardis Siege Mode
4. Lament Configuration
5. Weighted Companion Cube
6. Borg Cube
7. The Inhibitors (Revelation Space)
8. Icecube

Slashdot Top Deals

Radioactive cats have 18 half-lives.

Working...