f = open(\'num.txt\',\'r\') temf = open(\'temp.txt\',\'w\') n = f.readline() num = input(\'please enter a number \') found = False while n != \'\': if n != num: