function1 Programming with "return": Getting Started with Python and C / 파이썬과 C에서의 "return" What is the return value in Python and C? I will explore this concept using both Python and C. C와 파이썬 각각에서 return이란 무엇일까? 오늘은 해당 개념에 대해 설명해보고자 한다. Basic function of the "return" The fundamental function of the 'return' statement is to return a value from a function. I will initially explain this concept using Python. return의 기본적인 기능은 값을 반환해주는(뱉어주는) 것이다. 먼저 파이썬을 이용해 설명해보겠다. i=0 def test(x): i=x*1.. 2024. 3. 18. 이전 1 다음