Imgflip Logo Icon
class Person:
    def __init__(self, name, age, race,):
        self.name = name
        self.age = age
        self.race = race

    def bleach(self):
        self.race = "white"
        print(f"person bleached")

p1 = Person("michal jackson", 24, "black")

print(f"{p1.name} {p1.age} {p1.race}")
p1.bleach()
print(f"{p1.name} {p1.age} {p1.race}") | made w/ Imgflip meme maker
74 views Made by IsraelHeedick1 10 months ago in programming
Created with the Imgflip Meme Generator
IMAGE DESCRIPTION:
class Person: def __init__(self, name, age, race,): self.name = name self.age = age self.race = race def bleach(self): self.race = "white" print(f"person bleached") p1 = Person("michal jackson", 24, "black") print(f"{p1.name} {p1.age} {p1.race}") p1.bleach() print(f"{p1.name} {p1.age} {p1.race}")