Python, Machine Learning, Numpy, Matplotlib.
the variable has a certain value. This is accomplished using conditional statements: if, elif, else. for i in range(10): if i % 2 == 0: # % -- modulus operator -- returns the remainder after division print("{} is even".format(i)) else: print("{} is odd".format(i)) Image from author # Example of