diff --git a/assignment_1.py b/assignment_1.py index ad78373..2fce717 100644 --- a/assignment_1.py +++ b/assignment_1.py @@ -15,9 +15,7 @@ def lower_case(string): """ - ### your code starts here - - ### your code ends here + lower_string = string.lower() return lower_string @@ -37,8 +35,6 @@ def upper_case(string): """ - ### your code starts here - - ### your code ends here + upper_string = string.upper() return upper_string diff --git a/assignment_2b.py b/assignment_2b.py index 1aef416..36f83c7 100644 --- a/assignment_2b.py +++ b/assignment_2b.py @@ -1,8 +1,8 @@ """ -Write a documentation for the simple function below. Your partner will have to -implement the function, without knowing the code. Send your partner the -documentation and see if he can work with it. -No cheating! Don't show or tell hem the code directly +Arguments two string values you want to store and combine + +Returns a dictionary that contains first string value in lower case (L), second string value in upper case (U) and the combined +outcome of both string inputs (C). """ def function_2b(string_1, string_2): diff --git a/assignment_2c.py b/assignment_2c.py index 1ac1ced..e9288fa 100644 --- a/assignment_2c.py +++ b/assignment_2c.py @@ -1,8 +1,8 @@ """ -Write a documentation for the simple function below. Your partner will have to -implement the function, without knowing the code. Send your partner the -documentation and see if he can work with it. -No cheating! Don't show or tell hem the code directly +Arguments: w, x, y, z + +Returns a dictionary containing the following transformation labels and their outcomes +Multiply and divide x and y in respective order, add and substract for values x and y. """ def function_2c(w, x, y, z):