print( "----------------------------" ) realusername = "jim59" userusername = input( "Enter the username: " ) realpassword = "bananas" userpassword = input( "Enter the password: " ) if userusername == realusername and userpassword == realpassword : print( "Welcome!" ) elif userusername != realusername and userpassword == realpassword : print( "Sorry, but your username is not recognised") elif userpassword != realpassword and userusername == realusername : print( "Sorry, but your password is incorrect") else: print( "Incorrect!" )