+ 1
How to display all var which been assigned to a class in python?
i mean like this class student: def __init__(self,major,level): self.major=major srlf.level=level andy=student('science',10) july=student('social',11) so the result will something like this ['andy','july']
2 Antworten
0
Sry but I don't understand what do you mean.
0
thank you
that's all i can explain
my english is bad