• 코드:
​x
 
1
def sum(a,b):
2
    return a+b
3
​
4
a=1
5
b=2
6
c=sum(a,b)
7
print(c)
표준입력 & 실행옵션