# Creating a bunch of variables with mixture of datatypes like int, float, boolean. var = 20 # Integer data var1 = 20.0 # Float data var2 = False # Boolean data var3 = -20 # Integer data # Printing the variables print(var) print("-------------------------------------------------------------") print(var1) print("-------------------------------------------------------------") print(var2) print("-------------------------------------------------------------") print(var3) # The type of the data can be determined by using type() method. print(type(var)) print("-------------------------------------------------------------") print(type(var1)) print("-------------------------------------------------------------") print(type(var2)) print("-------------------------------------------------------------") print(type(var3)) # This is a single line comment add = 10 + 5 # Addition sub = 10 - 5 # Subtraction mul = 10 * 5 # Multiplication div = 10 / 5 # Division exp = 10 ** 5 # Exponent floor = 13 // 5 # Floor division mod = 13 % 5 # Modulus operator print(add) print("-------------------------------------------------------------") print(sub) print("-------------------------------------------------------------") print(mul) print("-------------------------------------------------------------") print(div) print("-------------------------------------------------------------") print(exp) print("-------------------------------------------------------------") print(floor) print("-------------------------------------------------------------") print(mod)