Learning python scratchpad