Python Program Using Input And Output Function Table