실습을 나름 해보았는데 잘 모르겠네요 - goormEDU

Q&A

It is a place to ask and answer questions related to IT technology.

0
실습을 나름 해보았는데 잘 모르겠네요
-
11/18/19, 11:09 PM
Question Path :

sum = 0

def my_func(*args): for i in args: sum=sum+i print sum

my_func(1,2,3,4,5)

이렇게 했는데 오류가 뜹니다. 뭐가 잘못된 걸까요?