python3 sample code