Re: [Tutor] Pycharm Edu Lesson 3, Task 7

2017-05-04 Thread David Wolfe
Thanks all for the help. Pycharm just posted an update to their Pycharm Edu product, and when I re-ran the script, everything was fine. Best, David On Tue, May 2, 2017 at 4:27 AM, Alan Gauld via Tutor wrote: > On 02/05/17 01:42, David Wolfe wrote: > > > I'm working through

Re: [Tutor] Pycharm Edu Lesson 3, Task 7

2017-05-02 Thread Alan Gauld via Tutor
On 02/05/17 01:42, David Wolfe wrote: > I'm working through Pycharm Edu, and I'm stuck on the following: > > phrase = """ > It is a really long string > triple-quoted strings are used > to define multi-line strings > """ > first_half = phrase[:len(phrase)//2] > print(first_half) > > > The

[Tutor] Pycharm Edu Lesson 3, Task 7

2017-05-02 Thread David Wolfe
Good Evening; I'm working through Pycharm Edu, and I'm stuck on the following: phrase = """ It is a really long string triple-quoted strings are used to define multi-line strings """ first_half = phrase[:len(phrase)//2] print(first_half) The instructions are: The len() function is used to