I have my password and all, but I want to have a following part of the code that you cannot access if you don't have the password right. How do I do that?
attempts=0
while attempts<3:
username=input('Username?')
password=input('Password?')
birhdate=input("Birthdate?")
pin=input("Enter your four digit pin.")
if username=='l.urban'and password=='lucasur2'and birhdate=='857585'and
pin=='1973':
print('you are in!')
else:
attempts+=1
print('incorrect!')
if attempts==3:
print('too many attempts')
end code
else:
attempts+=1
print('incorrect!')
if attempts==3:
print('too many attempts')
end code
Python 3.6.1 (default, Dec 2015, 13:05:11) [GCC 4.8.2] on linux File "main.py", line 14 `enter code here end code ^``IndentationError: unexpected indent îș§