Haha!! But, I suppose he is asking how can we draw a line on the screen given that we have a function which can draw a pixel. Lets see how this post develops.
If he/she is referring to graphics, which is almost certain, then they can use ASCII art (grotesque), access the video memory directly (bound to cause some damage), or use a graphics library such as OpenGL.