Timeline for Hilbert's Grand Hotel
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 25, 2017 at 21:04 | history | edited | fəˈnɛtɪk | CC BY-SA 3.0 |
deleted 2 characters in body
|
Jan 25, 2017 at 20:53 | history | edited | fəˈnɛtɪk | CC BY-SA 3.0 |
added 2 characters in body
|
Jan 25, 2017 at 20:40 | comment | added | xnor |
The conditions for while and if don't need parens. You can put multiple statements on one line separated by ; like if(i<d):r.extend([0]*(d-i));i=d unless there's control flow in the later statements.
|
|
Jan 25, 2017 at 15:10 | history | edited | fəˈnɛtɪk | CC BY-SA 3.0 |
Changed the indentation from pure spaces to be spaces and tabs
|
Jan 25, 2017 at 14:54 | comment | added | fəˈnɛtɪk | I was working with a stupid editor which converted tab to 4 spaces XP | |
Jan 25, 2017 at 14:52 | comment | added | Wheat Wizard♦ | Instead of using spaces for all your indents you could use a space for level one indents, a tab for level two and a tab followed by a space for level three. | |
Jan 25, 2017 at 14:25 | history | answered | fəˈnɛtɪk | CC BY-SA 3.0 |