Finish the function · จบฟังก์ชัน
Finish the function
The def line is written. Add the one line inside it that gives back a + b.
a and b stand for whatever the caller passes in. Inside the function you use them as ordinary variables — the body is just normal code, indented under the def.
เสร็จสิ้นฟังก์ชัน
บรรทัด def ถูกเขียนไว้ เพิ่มบรรทัดเดียวภายในที่ส่งกลับ a + b
a และ b แทนสิ่งที่ผู้เรียกส่งเข้ามา ภายในฟังก์ชันคุณสามารถใช้มันเป็นตัวแปรธรรมดา — body เป็นโค้ดปกติ ที่เยื้องอยู่ใต้ def
The def line is written. Add the one line inside it that gives back a + b. · บรรทัด def ถูกเขียนไว้ เพิ่มบรรทัดเดียวภายในที่ส่งกลับ a + b
Click Run to see the output here. · คลิก Run เพื่อดูผลลัพธ์ที่นี่