itch.io is community of indie game creators and players

Devlogs

Python Classes/Objects

Programming Progress Log
A downloadable game

class Girl:

   def __init__(self,name,age):

    self.name=name

    self.age=age

    

p2=Girl("Anna", 19)

print(p2.name)

print(p2.age)

Anna 19


Leave a comment