Question #N702

The equation $x^2-2x+k=0$ has exactly one solution. What is the value of $k$?
A. 1
B. 2
C. 4
D. 8