Create a Python class which can be instantiated into an object. The object should take two parameters in its construction and store them as separate instance variables.
class SampleObject:
    def __init__(self, param1, param2):
        self.param1 = param1
        self.param2 = param2

obj = SampleObject(1, 2)