Creating Python Code With Functions