3 ms·
I would think underhanded Python is too easy: if x: DoThis() <tab>DoThat()
by Someone 13y ago
I would think underhanded Python is too easy:
if x:
DoThis()
<tab>DoThat()
- saalweachter 13y agoPython disallows incongruous whitespace, doesn't it?
- broodbucket 13y agoPython itself will allow you to do that (have an indent by 4 spaces, and a tab character on the next line) as far as I know, IDLE won't run though. Not that anyone should ever use IDLE.
- d23 13y agoI think the point is to be a bit more subtle than that.
- yen223 13y agoPython doesn't allow you to mix spaces and tabs.