GithubHelp home page GithubHelp logo

arevish / health-managementsystem Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 1 KB

Health Management System to manage and save your exercises and food details in a separate files with the time you entered it record with it automatically for you to retrieve it later

Python 100.00%
management-system health-management health-information python

health-managementsystem's Introduction

Health Management System forthebadge

created a health managemet system to keep record of your exercise and food you eat. program automatically created the file and ask user if they want to log or retrive the information from the file , you can add information like what they eat or what exercise they did and program keep the record of it with the date and time stamp when you added fo r them to retrive later. You may notice this file contains a scenario. The reason for that is just to develop your interest in the problems So, let me give a brief introduction of the scenario here. ;)

Scenario

Suppose you are a fitness trainer and nutritionist. You have to deal with three clients. For each client, you have to design their exercise and diet plan. created a "Health Management System."

created a "Health Management System" to manage and save your exercises and food details in a separate files with the time you entered it record with it automatically for you to retrive it later program will generate files automatially

Instructions:

  • Create a food log file for each client
  • Create an exercise log file for each client.
  • Ask the user whether they want to log or retrieve client data.
  • Write a function that takes the user input of the client's name. After the client's name is entered, it will display a message as "What you want to log- Diet or Exercise".
  • The purpose is to give time with every record of food or exercise added in the file.
  • Write a function to retrieve exercise or food file records for any client.
['2021-09-30 18:25:02.883131'] : chest press 12*3 
 ['2021-09-30 18:30:56.058321'] : push ups 15*3 
 ['2021-09-30 18:31:50.363653'] : benchpress 8*3 

Module used

python module datetime import datetime

PRE-REQUISITES

Your laptop with 3.6.x (onwards) installed.

NOTE: Those with Linux and MacOSX would have Python installed by default, no action required.

Windows: Download the version for your laptop via https://www.python.org/downloads/

NOTES In your preferred editor, make sure indentation is set to "4 spaces".

Run using Python3.8+

  1. Clone or download repositiory: https://github.com/arevish/health-ManagmentSystem.git
  2. In source folder, run python3 'healthmanagementsystem.py' to start program, optionally, run with --help argument to see other runtime options.

health-managementsystem's People

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.