Function Create In Python If You Executed