example6- code python