8000 GitHub - MartingaleCoda/SeatPermutations: Python code to get all seat permutations for a math problem on standup maths
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

MartingaleCoda/SeatPermutations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

SeatPermutations

A simple Python script to get all seat permutations for a math problem on standup maths Written in Python 3.6.8

To use the script, simply open your console/terminal then type your python path (PATH or wherever you installed your python) followed by the script path. If you have an IDE, you can run it through that as well (e.g. PyCharm, Wing IDE, Visual Studio, etc.).

This script works for any valid number of seats, number of people who sit correctly before rotating the table, and any amount of matches. It will print the lists that, no matter how much you rotate the table, will never have more than a given number of matches.

About

Python code to get all seat permutations for a math problem on standup maths

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0