Python Forum
Proper use of if..elif..else statement
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Proper use of if..elif..else statement
#3
Thanks for the help. The "number = 2" was really a typo. I know it should have been "==".
Reply


Messages In This Thread
RE: Proper use of if..elif..else statement - by nick1941 - Mar-06-2020, 11:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pyserial issues with proper loops and binary jttolleson 16 2,621 Nov-02-2023, 08:39 PM
Last Post: deanhystad
Question If, elif, and else statement not working PickleScripts 3 899 Mar-30-2023, 02:53 PM
Last Post: PickleScripts
  Getting proper x,y axis values pyhill00 8 1,670 Jul-29-2022, 06:48 PM
Last Post: pyhill00
  Proper way to do the OR statement? Mark17 5 1,774 Mar-01-2022, 01:54 PM
Last Post: Mark17
  If elif else statement not functioning SamDiggityDog 4 2,651 Jun-03-2020, 12:27 AM
Last Post: SamDiggityDog
  proper use of 'end' in a 'with' statement ccrider27 1 2,065 Mar-18-2020, 10:33 PM
Last Post: buran
  Proper Layout of Code Question TheJax 2 2,206 Feb-08-2020, 06:14 PM
Last Post: TheJax
  Syntax Error (elif statement) Kanashi 0 3,668 Nov-20-2019, 11:29 PM
Last Post: Kanashi
  Unable to do the proper split using re.sub incase of missing data. Karz 1 1,868 Nov-17-2019, 05:58 PM
Last Post: buran
  getopt with tuple not working proper Frank123456 0 1,881 Aug-21-2019, 12:46 PM
Last Post: Frank123456

Forum Jump:

User Panel Messages

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