JessDataNLP / beginner_projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Beginner Projects

These are some of my beginner coding projects in Python

1.** Arithmetic Arranger** As found on freecodeacademy.org The program arranges additions and subtractions, and calculates them when the argument is set to true.


2.** Time Calculator**

Write a function named add_time that takes in two required parameters and one optional parameter:

a start time in the 12-hour clock format (ending in AM or PM)
a duration time that indicates the number of hours and minutes
(optional) a starting day of the week, case insensitive

The function should add the duration time to the start time and return the result.

If the result will be the next day, it should show (next day) after the time. If the result will be more than one day later, it should show (n days later) after the time, where "n" is the number of days later.

If the function is given the optional starting day of the week parameter, then the output should display the day of the week of the result. The day of the week in the output should appear after the time and before the number of days later.


3.** Statistical Tools**

Contains functions that perform simple statistical operations, such as: median, average, standard error, z-score.

Also contains a function that describes a numerical sample: first entry, last entry, median, average, standard error.


Suggestions on how to improve these codes are most welcome!

About


Languages

Language:Python 100.0%