Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
General Grok Help
#6
I'll just give you some examples and you can use them to fix your code.
#Here is an if statement
if #Statement
    #Code
elif #Statement
    #Code
#Code - this code here ends the statement. The if statement will not look past this for anything
else #Python thinks this else is just here with no if to relate to
I hope this helps you see what's wrong with your code

Where i put "#Code", just imagine there is code there and statements where it says "#Statement"
Reply


Messages In This Thread
General Grok Help - by AmineLS - Sep-10-2019, 07:23 PM
RE: General Grok Help - by SheeppOSU - Sep-10-2019, 07:56 PM
RE: General Grok Help - by AmineLS - Sep-11-2019, 01:26 AM
RE: General Grok Help - by SheeppOSU - Sep-11-2019, 01:43 AM
RE: General Grok Help - by AmineLS - Sep-11-2019, 02:30 AM
RE: General Grok Help - by SheeppOSU - Sep-11-2019, 06:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  GROK MODULE 5 HELP! AmineLS 1 8,533 Sep-26-2019, 04:21 PM
Last Post: metulburr
  New programmer using GROK AmineLS 2 3,146 Sep-10-2019, 12:25 PM
Last Post: AmineLS

Forum Jump:

User Panel Messages

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