153k views
3 votes
Which function prompts the user to enter information?

def main()
input()
int()
main()

User Jpoppe
by
5.8k points

2 Answers

5 votes

Answer:

Input()

Step-by-step explanation:

So if you used process of elimination, you can see that def main() defines the start of the program and main() defines the end of the program. Also, int() is to solve without a decimal or special marking, therefore, input() would be the only reliable answer.

~i also got this correct on the test!~

User Mitzie
by
5.7k points
6 votes

Answer:

B. input()

Step-by-step explanation:

Hope this helps :)

User Sam Grossberg
by
5.7k points