반응형
Q>
더하기 함수를 만들어서 100, 200을 입력후 출력하시오.
A>
def sum(a, b):
c = a + b
return c
print(sum(100, 200))
O>
300
Process finished with exit code 0
반응형
'Python_Matter > Solve' 카테고리의 다른 글
Python Learn the basics Quiz 19 (0) | 2019.03.27 |
---|---|
Python Learn the basics Quiz 18 (0) | 2019.03.27 |
Python Learn the basics Quiz 16 (0) | 2019.03.27 |
Python Learn the basics Quiz 15 (0) | 2019.03.27 |
Python Learn the basics Quiz 14 (0) | 2019.03.27 |