How To Write With Functions Python