What is prompt of python
Answers
That >>> is called a prompt, which means it's something the computer displays to tell you it's ready for your instructions. You can type things into that window, and the computer will obey them when it understands your commands.
What is a prompt string in Python?
Answer
6
Follow
Request
More
You cannot write an answer
You aren't allowed to write answers to questions.
Ad by Worldquant University
At Worldquant University, all tuition costs are covered.
MSc programs in financial engineering can cost more than $50K but ours is tuition-free for every student.
Apply Now
4 ANSWERS
John Smith, studied Python at Pluralsight
Answered Jul 5, 2018
When you use input to get text input from the user, you can provide an argument “prompt” which is a description of what you want the user to enter.
Example:
>>> prompt = “What is your favorite color? > “
>>> text = input(prompt)
What is your favorite color? > Blue
>>> print(text)