私が改善できるものは何ですか?私はPythonの初心者です。私のコードをよりきれいに見せたり、もっとプロフェッショナルに見せるために何かできることはありますか?このサイトは、コードレビューのためではなく、あなたは新しいしているので、実際には明白であるものがあることに感謝し私のコードのすべてが見栄えが良いですか?
while True:
print('What password will you be storing?')
PassChoice = input()
print('What is your username or email for this account?')
UserOrEmail = input()
print("What is the password for " + str(PassChoice) + '?')
Password = input()
print('Your password for ' + str(PassChoice) + ' has been stored.')
WebsiteAndPassword = (str(PassChoice) + '| ' + str(UserOrEmail) +': ' +
str(Password) + '\n')
break
PasswordFile = open('importantpasswords.txt', 'a')
PasswordFile.write(str(WebsiteAndPassword))
PasswordFile.close()
をhttps://codereview.stackexchange.comにアクセスしてください。 –
いくつかの声明:コミュニティで受け入れられている標準(例えばPEP-8)に準拠し、プレーンテキストファイルにパスワードを格納しないでください) –
意見をベースに質問を閉じる投票 –