Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Iam new to Python Need Help
#3
well even if the indentation is correct, this code would raise an exception because w is not defined. So you get a Traceback.
Do as Larz60+ advised you - put your code in python tags with correct indentation. Post also Full traceback you get in error tags
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
Iam new to Python Need Help - by hitesh222002 - May-24-2018, 03:33 PM
RE: Iam new to Python Need Help - by nilamo - May-24-2018, 08:07 PM
RE: Iam new to Python Need Help - by buran - May-25-2018, 06:06 AM

Forum Jump:

User Panel Messages

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