Beginner Projects

Recursive Factorial

Implement a factorial function that relies on recursion.

Recursion means that the method will call itself from within the method.

Create the following method:

src.python_fundamentals.factorial.factorial(number)

Calculates the factorial of a given number.

Parameters

number (int) – integer that the user wants the factorial of.

Returns

integer of the resulting factorial.

Return type

int

Solution

Factorial Solution

File IO

Read binary data and format it nicely into a text file for human readability.

Binary File Link

Accomplish the following:
  • Read the binary file into memory

  • convert the Hex byte data into letters/strings

  • write the data to a text file

The content of the file should be plain english when it has been decoded.

Solution

File IO Solution

Class Structured Inventory System

Create an inventory system based on multiple class structures.

Sorting Algorithms

Implement sorting algorithms of such as bubble sort, merge sort, and selection sort.

Dataset Analysis

Read in data from a csv file and perform statistical analysis on a csv dataset. create density graphs and boxplots.