Python Forum
Having problems using 'or' in a 'if' statement?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Having problems using 'or' in a 'if' statement?
#2
you mean
if number1 == 6 or number2 == 6:
or better yet
if 6 in (numerb1, number2):
Recommended Tutorials:
Reply


Messages In This Thread
RE: A problem with "and" "ore" conjunctions... - by metulburr - Jul-21-2019, 10:57 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Problems with if / else statement droid206 6 3,998 Apr-19-2020, 08:06 AM
Last Post: astral_travel
  problems with the If statement or is it the variables being used NickIgoe 2 2,914 Mar-22-2019, 06:34 AM
Last Post: NickIgoe

Forum Jump:

User Panel Messages

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