Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def register():
- global admin
- create_user = input("Create your username: ")
- create_pass = input("Create your password: ")
- f = open("users.txt" , "a")
- f.write (create_user + ' : ' + create_pass, admin + "\n")
- f.close===========
- error message
- =============================
- Exception has occurred: TypeError
- unsupported operand type(s) for +: 'int' and 'str'
- File "D:\Desktop\python\login.py", line 29, in register
- f.write (create_user + ' : ' + create_pass, admin + "\n")
- File "D:\Desktop\python\login.py", line 18, in start
- register()
- File "D:\Desktop\python\login.py", line 94, in <module>
- start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement