structure1 C like structures in Python C like structures in Python1.소스 class SSample : name = '' average = 0.0 values = None s1 = SSample() s1.name = "sample1 " s1.values = [] s1.values.append("test1") s1.values.append("test2") s1.values.append("test3") s1.values.append("test4") s2 = SSample() s2.name = "sample2 " s2.values = [] s2.values.append("test1") s2.values.append("test2") s2.values.append("test3") s2.values.append("test4") fo.. 2016. 11. 22. 이전 1 다음