For which programming task would you use a while loop?

A) Computing the average of a list of 30 integers

B) Copying the contents of one list of 500 characters to another list

C) Drawing a circle with a specific radius

D) waiting for a keyboard key to be pressed