realusername = "jim59" userusername = input( "Username:" ) realpassword = "bananas" password = input( "Passowrd:" ) if realusername == userusername : if realpassword == password : print( "Welcome!") else: print( "Sorry, but your password is incorrect" ) else: print( "Sorry, but your usermane is not recognised" )