Astranis interview question

Satellite coding problem in Python.