Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 3

64 bytes removed, 09:12, 2 June 2017
PART 2 - Providing Functions With Arguments
square(12)
square(square(2))
</source>Multiple arguments are separated by '''commas'''. Be careful NOT to provide strings (without using quotes) or using numbers that use decimals in these examples, as you may cause errors.<br><br>
:#Issue the following to declare the function '''sum_numbers()''':<source>
def sum_numbers(number1, number2):
13,420
edits