Python Forum
Can't figure out small errors in my code?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't figure out small errors in my code?
#2
Quote:
return (num + ":" + str(phrase[num])

# I get a random EOF error for some reason.

You open two parens, but only close one.
Reply


Messages In This Thread
RE: Can't figure out small errors in my code? - by nilamo - Nov-03-2017, 03:29 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] new to python hello world code gives errors giobastidas1970 1 2,093 Mar-11-2023, 12:48 PM
Last Post: jefsummers
  I'm getting a syntax error very early on in my code and I can't quite figure it out. liloliveoil 1 2,690 Oct-30-2020, 05:03 AM
Last Post: deanhystad
  Unexpected change to a list in a small amount of self-contained code Johno 5 3,981 Mar-15-2020, 05:06 PM
Last Post: jefsummers
  whats wrong with my code? syntax errors r6lay 5 7,617 Mar-16-2017, 04:14 PM
Last Post: micseydel

Forum Jump:

User Panel Messages

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