Question

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? (1 point) Responses time.wait(30) time.wait(30) sleep.time(30) sleep.time(30) time.pause(30) time.pause(30) time.sleep(30)

Answers

GPT-4o mini
Fatima should use the following line of code to create a 30-second pause:

```python
time.sleep(30)
```

This code will pause the program for 30 seconds before allowing the user to input an answer.