daximillian / opsschool4-coding

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

opsschool4-coding

Homework for session 1 of the Ops School coding class. Handed in by: Nofar Spalter

A python script that takes a json comprised of tuples of people and ages, and a list of numbers that represents age brackets, and prints out a YAML of people sorted to age brackets. People's ages must be equal or higher than the lower limit of the bracket and lower than the higher limit of the bracket. Lowest possible age is 0, highest possible age is the maximum age given, +1.

To run:

chmod +x json_to_yaml_ppl.py

./json_to_yaml_ppl.py

About


Languages

Language:Python 100.0%