user = (input ('Username ') ) if user == "tomato": password = (input ('Password ') ) else: print( 'Sorry, but your username is incorrect' ) if password == 'hello': print( 'Correct' ) else: print( 'Sorry, but your password is incorrect' )