16 Oct
2015
16 Oct
'15
5:28 p.m.
Hi John, On Thu, Oct 8, 2015 at 6:51 PM, john wu <john.wu@bcdtravel.cn> wrote:
The space between “C>” and “print(‘Yuck!”) makes an error, “unexpected indent”.
Look carefully: the unexpected indent actually came from a mis-copy when you assigned to sys.ps1. The example shows "sys.ps1 = 'C> '" (note the space after the >), while in your trial you did "sys.ps1 = 'C>'" (no space), then added the space when typing in the next line of the example. If you add the space in the assignment to sys.ps1, as in the example, there is no error. Hope this helps, -- Zach