read a single character from the user,sys.stdin.read(1)