learning python and other small code (working or not)