Fatima is creating a program. She wants to ask the user a question and then have a 30-second pause before the user is allowed to input an answer. Which line of code should Fatima use?

A. Time.wait (30)
B. Sleep.time (30)
C. Time.pause (30)
D. Time.sleep (30)

1 answer

D. Time.sleep (30)