자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
def main(): Volvomotor=Motor(0,100,0,"Volvo","Stop") state=raw_input("Motor state: ") Volvomotor.changestate(state) Volvomotor.accelerate() print "Current speed: "+str(Volvomotor.rpm)+"rpm" return 0