Write a Python program to check/test multiple variables against a value


Topic: Write a Python program to check/test multiple variables against a value

Solution

a = 10
b = 20
c = 30
if 10 in {a, b, c}:
  print("True")
else:
  print("False")  



List all Python Programs