Programming Python Program With Output Shaft