Programming Python Program With Output Speed