javleds / python_basic_first_challenge

First challenge for python basic, calculate triangle area, triangle type and rock paper scissors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python challenges

This repo was created to satisfy the challenges of the platzi Datacadmy course.

The code should:

  • Is palindrome.
  • Compute a triangle area.
  • Compute a triangle type.
  • Rock paper scissors.
  • Unit converter.
  • Volumes calculator.
  • Dynamic ranges.

Requirements

  • Python 3.x

TODO

  • Learn how to test console input.
  • Add missing edge scenarios for test_input_utils.
  • Add tests for dynamic_ranges.

Notes

  • The main requirement was to compute area using the a = (b * h) / 2, nevertheless to compute the triangle we should ask for additional data, in order to only ask for the 3 triangle side lengths we use the Heron's formula to compute thr triangle height, please see heron' formula.

About

First challenge for python basic, calculate triangle area, triangle type and rock paper scissors


Languages

Language:Python 100.0%