Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem With Tutorial
#11
I don't think that's a real [ as the 3 dots are all aligned with each other
After pressing enter at the end of line
print('No, I really really like ' + dog +'s!\n')
if you press space until the text wraps then type
... print("\nThat's just how I feel about dogs.")
it will show the same as the picture less the phantom [

nope scrub that because you get the 3 ... in the error message which is not in the photo, but I still thin the bracket is a phantom


This could be it
print('No, I really really like ' + dog +'s!\n')
press enter
add 4 spaces and press enter
add
print("\nThat's just how I feel about dogs.")
>>> for dog in dogs:
...     print('I like ' + dog + 's.')
...     print('No, I really really like ' + dog +'s!\n')
...
... print("\nThat's just how I feel about dogs.")
  File "<stdin>", line 5
    print("\nThat's just how I feel about dogs.")
        ^
SyntaxError: invalid syntax
>>>  
Reply


Messages In This Thread
Problem With Tutorial - by BeginningCoder - Jun-14-2020, 04:12 AM
RE: Problem With Tutorial - by buran - Jun-14-2020, 04:36 AM
RE: Problem With Tutorial - by pyzyx3qwerty - Jun-14-2020, 05:46 AM
RE: Problem With Tutorial - by BeginningCoder - Jun-15-2020, 08:40 AM
RE: Problem With Tutorial - by bowlofred - Jun-15-2020, 09:21 AM
RE: Problem With Tutorial - by buran - Jun-15-2020, 09:43 AM
RE: Problem With Tutorial - by jefsummers - Jun-15-2020, 12:07 PM
RE: Problem With Tutorial - by BeginningCoder - Jun-15-2020, 06:14 PM
RE: Problem With Tutorial - by jefsummers - Jun-15-2020, 08:08 PM
RE: Problem With Tutorial - by buran - Jun-15-2020, 08:34 PM
RE: Problem With Tutorial - by Yoriz - Jun-15-2020, 09:18 PM
RE: Problem With Tutorial - by buran - Jun-15-2020, 09:22 PM
RE: Problem With Tutorial - by snippsat - Jun-15-2020, 11:22 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020