imdiegoruiz / players_pairs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

players_pairs

This little app finds the different pairs of players based in their height adds up to the integer input to the application.

Running the app

  • Install Python Download the latest version for Windows Python website

  • Open the Python IDLE that offers a full-fledged file editor, which gives you the ability to write and execute Python programs from within this program

  • Open the file example.py

  • Press the F5 to running the file.

  • The IDLE should show you something like:

    image

Menu options

image

image

How it works

  • In a general way the app, fetch the data from API
  • Sort the data by the key h_in
  • Calculate the pairs and store it in a dict
  • Loop the dict to find the pairs.

Thanks.

About

License:MIT License


Languages

Language:Python 100.0%