#๐ short answers
58 messages ยท Page 1 of 1 (latest)
@woven flower
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
I get the feeling from your answer that you're trying to hide the fact that you don't know the answer by word-vomiting.
The answer is super generalized and philsophical-sounding when the question is asking for a simple concrete technical answer.
It's not a deep question.
Do you know what input() does? Do you know what the prompt parameter does?
Input itโs a function
Yeah. And what does it do?
It gets the input from the user
Right. And what does the prompt parameter do?
Whatโs a prompt parameter
Isnโt it when u store the user input to a variable
What string?
the prompt parameter isn't really that important as the question seems to make it (not even for terminal applications) but it is very convenient
about as valid as some stuff a CEO would say when asked a confrontational question - the sentence uses real words, but doesnt make sense
talk about a user using the program, how it would help
No, it's not. @plain cloud is somewhat justified in questioning the importance of the question itself, but if you do have to answer it, you need to understand what prompt is.
if you are the developer of the program, you will just "know" what the program expects you to enter at some point, but imagine a user who is just running it
they have a blinking cursor, and they can type stuff.. but what? how are they supposed to understand what are they supposed to type?
thats what you write the prompt for, to explain what is supposed to be entered
kinda like naming function parameters but for the user rather than the developer
so this quesiton is specefically asking in the terminal
not in a web app
we only have text
in terminals
right?
Yeah, input() is a function that takes input from the user in the terminal
but also in web apps too
sorry this meant to be Q3
@dawn roost
yes?
what about Q3?
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.