Trim Function In Python Examples Code