13,420
edits
Changes
→PART 1 - Providing Functions With Arguments
print(operate(10, 5, 'subtract'))
print(operate(10, 5, 'multiply'))
</source>
:::*The operate() function should use '''logic''' statements<br> '''FYI:''' Remember that you MUST consistently '''indent ALL code''' for within each logic section (or test): otherwise, it may not allow the logic statement to work correctly.