Python Forum
3 conditions to check and return
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
3 conditions to check and return
#4
i added an extra else: after the last condition or matching the original For loop. so if the first 2 dont break the loop this last one will... thanks for the reply
Reply


Messages In This Thread
3 conditions to check and return - by ilcaa72 - May-24-2018, 12:02 AM
RE: 3 conditions to check and return - by micseydel - May-24-2018, 12:33 AM
RE: 3 conditions to check and return - by ilcaa72 - May-24-2018, 12:53 AM
RE: 3 conditions to check and return - by ilcaa72 - May-24-2018, 03:13 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  isinstance() always return true for object type check Yoki91 2 2,747 Jul-22-2020, 06:52 PM
Last Post: Yoki91
  How does while-If-elif-else-If loop conditions check run mrhopeedu 2 1,897 Oct-27-2019, 04:56 AM
Last Post: mrhopeedu
  How do you check if something exists or doesn't in the conditions of an if? Klar 1 2,595 Dec-15-2017, 03:47 PM
Last Post: sparkz_alot

Forum Jump:

User Panel Messages

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