Inline Function In Python