python 3 attempt