Python Code For Prime And Composite Games