Python learning with basic examples i tried