Menu
×
×
Correct!
## Exercise:Use an if statement to print "YES" if either
a = 2
b = 50
c = 2
@(20)
print("YES")
a = 2
b = 50
c = 2
if a == c or b == c:
print("YES")
a = 2
b = 50
c = 2
if a==c or b==c:
print("YES")
a = 2
b = 50
c = 2
if a==c or b == c:
print("YES")
a = 2
b = 50
c = 2
if a == c or b==c:
print("YES")
a = 2
b = 50
c = 2
if (a==c) or (b==c):
print("YES")
a = 2
b = 50
c = 2
if (a == c or b == c):
print("YES")
a = 2
b = 50
c = 2
if (a==c or b==c):
print("YES")
a = 2
b = 50
c = 2
if b == c or a == c:
print("YES")
a = 2
b = 50
c = 2
if b==c or a==c:
print("YES")
a = 2
b = 50
c = 2
if b==c or a == c:
print("YES")
a = 2
b = 50
c = 2
if b == c or a==c:
print("YES")
a = 2
b = 50
c = 2
if (b==c) or (a==c):
print("YES")
a = 2
b = 50
c = 2
if (b == c or a == c):
print("YES")
a = 2
b = 50
c = 2
if (b==c or a==c):
print("YES")
a = 2
b = 50
c = 2
if c == a or c == b:
print("YES")
a = 2
b = 50
c = 2
if c==a or c==b:
print("YES")
a = 2
b = 50
c = 2
if c==a or c == b:
print("YES")
a = 2
b = 50
c = 2
if c == a or c==b:
print("YES")
a = 2
b = 50
c = 2
if (c==a) or (c==b):
print("YES")
a = 2
b = 50
c = 2
if (c == a or c == b):
print("YES")
a = 2
b = 50
c = 2
if (c==a or c==b):
print("YES")
a = 2
b = 50
c = 2
if c == b or c == a:
print("YES")
a = 2
b = 50
c = 2
if c==b or c==a:
print("YES")
a = 2
b = 50
c = 2
if c==b or c == a:
print("YES")
a = 2
b = 50
c = 2
if c == b or c==a:
print("YES")
a = 2
b = 50
c = 2
if (c==b) or (c==a):
print("YES")
a = 2
b = 50
c = 2
if (c == b or c == a):
print("YES")
a = 2
b = 50
c = 2
if (c==b or c==a):
print("YES")
## Not CorrectClick ## Correct!Next ❯ |

PYTHON Syntax

PYTHON Comments

PYTHON Variables

PYTHON Data Types

PYTHON Numbers

PYTHON Strings

PYTHON Booleans

PYTHON Operators

PYTHON Lists

PYTHON Tuples

PYTHON Dictionaries

PYTHON If...Else

PYTHON While Loops

PYTHON For Loops

PYTHON Functions

PYTHON Lambda

PYTHON Classes

PYTHON Inheritance

PYTHON Modules

This will reset the score of ALL 95 exercises.

Are you sure you want to continue?