Beginner needs help

I’m new to Opengl and i need a very simple program to draw a spiral on opengl. It need not be animated or 3d, just a 2d spiral. Can anyone send me the code?

Why does that sound like homework?

Sending you the code will do you absolutely no good whatsoever. You’ll have the code but you won’t understand the concepts. There are enough bad programmers who operate like that in the world already - don’t be another.