update type in python curriculum