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
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
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