Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def add():
- # this function should return the sum of any three numbers
- return x + y + z
- def subtract(5, y):
- # this function should subtract two numbers and return the value
- return x - y
- def sum_of_list(some_list):
- # this function should return the sum of all numbers in a given list
- count = 0
- for i in some_list:
- pass
- return
- def shout(some_phrase):
- # this function should convert any string you pass into all uppercase
- # and print it
- print(some_phrase)
- def combine_three_lists(x, y, z):
- # this function should combine three lists and remove any
- # repeated numbers in the final list. return the final list
- return final_list
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement