Python, Programming, Data Science, Artificial Intelligence, Data.
self.name = name self.age = age def introduce(self): print(f"Hi, my name is {self.name} and I'm {self.age} years old.") person1 = Person("Alice", 25) person2 = Person("Bob", 30) person1.introduce() # Output: Hi, my name is Alice and I'm 25 years old. person2.introduce() # Output: Hi, my name is Bob