Lingkarkan melalui objek Python

for attr, value in k.__dict__.items():
        print(attr, value)
Worried Wildebeest