You shouldn't write your password down anywhere.
Also, if you've forgotten your Nintendo Account password, please reset the password using the Forgot your password? link (https://accounts.nintendo.com/password/reset) found on the Nintendo Account sign-in page.