Changes

Jump to: navigation, search

OPS435 Python Lab 3

5 bytes added, 11:12, 31 May 2017
PART 2 - Providing Functions With Arguments
:::*The script should have a '''Shebang line'''
:::*The script should have a function called '''sum_numbers(number1, number2)''':
::::: Make this function add number1 and number2 and return the value
:::*The script should have a function '''subtract_numbers(number1, number2)''':
::::: Make this function subtract number1 and number2 and return the value::::: Remember to make sure the function accepts 2 arguments
:::*The script should have a function '''multiply_numbers(number1, number2)''':
::::: Make this function multiply number1 and number2 and return the value::::: Remember to make sure the function accepts 2 arguments
:::*All functions should accept two arguments
:::*All functions should return an integer
13,420
edits

Navigation menu