Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 3

112 bytes added, 09:32, 1 June 2017
PART 2 - Providing Functions With Arguments
:'''Perform the Following Instructions:'''
:#Create a new script '''~/ops435/lab3/lab3b.py'''. Refer to the Input / Output '''Python Script template''' and the '''Additional Requirements ''' sections when creating your Python script. Refer to Sample Run and Sample Imports displayed below for exact prompt and output
:::'''Python Script Template'''
# Remember to make sure the function accepts 2 arguments
if __name__ == '__main__': print('python code') print(sum_numbers(10, 5)) print(subtract_numbers(10, 5)) print(multiply_numbers(10, 5))
</source>
13,420
edits