File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,14 @@ It's raining!
34
34
35
35
The prompt changed from ` >>> ` to ` ... ` . It meant that Python was
36
36
expecting me to keep typing. When I was done, I just pressed Enter
37
- twice. My code was executed and the prompt went back to ` >>> ` . IDLE
38
- does this a bit differently, so if you use IDLE, running this example
39
- code looks more like this:
37
+ twice. My code was executed and the prompt went back to ` >>> ` .
38
+
39
+ An important thing to notice is that the line with a print is
40
+ ** indented** . You can press the tab key, or if it doesn't work
41
+ just press space a few times.
42
+
43
+ IDLE does this a bit differently, so if you use IDLE, running the
44
+ example code looks more like this:
40
45
41
46
``` py
42
47
>> > its_raining = True
@@ -55,7 +60,8 @@ just press Ctrl+N.
55
60
![ New File in IDLE] ( images/idle-new.png )
56
61
57
62
If you don't use IDLE, please take the time to
58
- [ set up your editor correctly] ( editor-setup.md ) .
63
+ [ set up your editor correctly] ( editor-setup.md ) . When you're done your
64
+ editor should give you four spaces every time you press tab.
59
65
60
66
Create a file called ` rain.py ` , and type the following content into it:
61
67
You can’t perform that action at this time.
0 commit comments