diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..280893b --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,15 @@ + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/code/exercise_16_1.py b/code/exercise_16_1.py new file mode 100644 index 0000000..5f0796d --- /dev/null +++ b/code/exercise_16_1.py @@ -0,0 +1,33 @@ +""" + +File: exercise_16_1 +Created: 28/12/2016 + + +Copyright 2016 MDickson + +""" + +from Time1 import * + + +def mul_time(time,mult): + """ + + :param (Time) time: + :param (int) mult: + :return: (Time) + """ + return int_to_time(mult * time_to_int(time)) + + + +def main(): + """ + The main body of the script + + """ + # test_time = Time() + +if __name__ == '__main__': + main()