Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with code
#5
Please use python and output tags when posting code and results. I put them in for you this time. Here are instructions for doing it yourself next time.

The problem is line 3. That assigns the string value 'hello world' to the name print, instead of printing it. Then, when you try to call the print function later, it is no longer a function, so it can't be called. I think you want to remove the equals (=) from line 3.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
Help with code - by Snek - Jan-04-2019, 01:00 PM
RE: Help with code - by gehrenfeld - Jan-04-2019, 01:11 PM
RE: Help with code - by Axel_Erfurt - Jan-04-2019, 01:12 PM
RE: Help with code - by Snek - Jan-04-2019, 01:14 PM
RE: Help with code - by ichabod801 - Jan-04-2019, 01:15 PM

Forum Jump:

User Panel Messages

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