Python Forum
don't understand format of if/else statements
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
don't understand format of if/else statements
#2
Looks like you want them to be an if/elif/else group.

The second if resets the conditionals and is examined whether the first one was checked or not. If the second if is instead an elif, then only one of the three paths can be taken.
Reply


Messages In This Thread
RE: don't understand format of if/else statements - by bowlofred - Sep-14-2020, 01:19 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need help implmenting if/else or case statements for option to choose file format. samlee916 1 2,105 Jul-22-2020, 06:06 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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