Construct a Python class named Person which contains the instance variables name, age, and gender.
Class Person:
    def __init__(self,name,age,gender):
        self.name = name
        self.age = age
        self.gender = gender