Need Of Abstraction In Python