Username = input('username:') Password = input('password:') if Username == ('bob101') : print ('Username correct') if Password == ('1234') : print ('Password correct') if Username == ('jake102') : print ('Username not recongnised') if Password == (4321) : print ('Sorry, your password is incorrect') if Password and Username == ('Username correct and Password correct') : print ('Welcome!')