Skip to content

Instantly share code, notes, and snippets.

@ajayguru2
ajayguru2 / roundRobin.py
Created October 17, 2017 09:16 — forked from Makistos/roundRobin.py
A round-robin algorithm implementation written in Python. #round-robin #scheduling #algorithm #python
#!/usr/bin/python
div1 = ["Lions", "Tigers", "Jaguars", "Cougars"]
div2 = ["Whales", "Sharks", "Piranhas", "Alligators"]
div3 = ["Cubs", "Kittens", "Puppies", "Calfs"]
def create_schedule(list):
""" Create a schedule for the teams in the list and return it"""
s = []