[Tutor] Fwd: IndentationError: unexpected indent

Palanikumar Gopalakrishnan palani at vahaitech.com
Tue Nov 8 09:47:34 EST 2016


Hi Guys,
             I tried this code from internet, Its returns following please
guide me to solve this error











* passwordFile = open('File.txt') secretPassword =
passwordFile.read() print('Enter your password.') typedPassword = input()
if typedPassword == secretPassword:    print('Access granted')    if
typedPassword == '12345':       print('That password is one that an idiot
puts on their luggage.')  else:    print('Access denied')*



-- 

*Warm Regards,*

*Palanikumar Gopalakrishnan *[image: ✌]
*Developer*





-- 

*Warm Regards,*

*Palanikumar Gopalakrishnan *[image: ✌]
*Developer*


More information about the Tutor mailing list