Ask coding questions

← Back to all posts
help please
ascel2500 (1)

how do i start this? i promised a friend i would make it to stop awkwardness and i need it soon, please?

Commentshotnewtop
lsambrook (284)

You want to know how to code ?

ascel2500 (1)

@lsambrook i want to know just how to start it. i've done a few other codes, but this one is eluding me

KiKUP (39)

Well, you should begin by addressing the issue you have, which is that input works like this:
variable=input("Displayed Text")
Which would result in:
Displayed Text <user enters data here>
If your case, you would set it up like this:
start=input("Would you like to use the conversation starter or the classic magic 8 ball?")

Secondly, is it just that you don't know how to start your code, or is it that you need help on how to code in Python. If so, you can always join the repl.it discord where a bunch of nice people can help you out!

PythinPython (6)

The language you are using is Python. The input function prompts the user for a text input which is then put into a variable. To define a input in python we use
start = input('your text here')
Start is the variable that keeps the value and the text inside the input is what the user sees when they are asked for the input. I would also remove the space in the print function.
I hope this helped.

linoman_zz (5)

iam also want to know this

PAULX (17)

the code starts from above to the bottom.

your code in fixed version

print("Hello!")
start=input("Would you like to use the conversation starter or the classic magic 8 ball?")
FellowHashbrown (37)

there's no code so nothing is failing

ascel2500 (1)

@FellowHashbrown I know there is no code. That's because i am not sure how to start my code