Python Program Using Input And Output Tables