From 7bd0fb89c842f399bc17377dfde6746845d86e69 Mon Sep 17 00:00:00 2001 From: mohammed masud Date: Fri, 30 Oct 2020 16:16:56 +0000 Subject: [PATCH 1/3] Added code for the manual entry of hours --- time.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 time.py diff --git a/time.py b/time.py new file mode 100644 index 0000000..369978c --- /dev/null +++ b/time.py @@ -0,0 +1,13 @@ +# masud + +def getHours(): + ''' + getHours function + Description: collects information about the hours for a user. + Input : None, steamID can be added later, or gameName once that has been implemented. + Output: Returns the number of hours, + ''' + + manualHours = input("Enter hours >>>") + +# ==== From fcca9d6543ebf2fab1ba860fb5a89a2440d074ab Mon Sep 17 00:00:00 2001 From: mohammed masud Date: Fri, 30 Oct 2020 16:22:31 +0000 Subject: [PATCH 2/3] Added pycharm IDE stuff can be added to .gitignore later maybe --- .idea/.gitignore | 3 +++ .idea/Chatbot.iml | 8 ++++++++ .idea/inspectionProfiles/profiles_settings.xml | 6 ++++++ .idea/misc.xml | 4 ++++ .idea/modules.xml | 8 ++++++++ .idea/vcs.xml | 6 ++++++ time.py | 13 ------------- 7 files changed, 35 insertions(+), 13 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/Chatbot.iml create mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml delete mode 100644 time.py diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/Chatbot.iml b/.idea/Chatbot.iml new file mode 100644 index 0000000..d0876a7 --- /dev/null +++ b/.idea/Chatbot.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..d1e22ec --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..de44713 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ 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/time.py b/time.py deleted file mode 100644 index 369978c..0000000 --- a/time.py +++ /dev/null @@ -1,13 +0,0 @@ -# masud - -def getHours(): - ''' - getHours function - Description: collects information about the hours for a user. - Input : None, steamID can be added later, or gameName once that has been implemented. - Output: Returns the number of hours, - ''' - - manualHours = input("Enter hours >>>") - -# ==== From 941bf403e915154f1a822ccd7966dd416c191d98 Mon Sep 17 00:00:00 2001 From: mohammed masud Date: Fri, 30 Oct 2020 16:27:16 +0000 Subject: [PATCH 3/3] time.py is back and better than ever before (accidentally deleted in last commit) --- time.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 time.py diff --git a/time.py b/time.py new file mode 100644 index 0000000..a790273 --- /dev/null +++ b/time.py @@ -0,0 +1,14 @@ +# masud is not a typo + +def getHours(): + """ + getHours function + Description: collects information about the hours for a user. Different calculations can be made from this later on. + Input : None, steamID can be added later, or gameName once that has been implemented. + Output: Returns the number of hours, for now this is manual and very simple as a result + """ + + manualHours = input("Enter hours >>>") + return manualHours + +# ====