#๐Ÿ”’ I don't know what the error is. can someone help me?

22 messages ยท Page 1 of 1 (latest)

obtuse oasisBOT
#

Hey @wicked elk!

Please edit your message to use a code block

```py
print('Hello, world!')
```

This will result in the following:

print('Hello, world!')```
#

@wicked elk

Python help channel opened

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.

deft pivot
#

is there an error when you run the code?

wicked elk
#

I can get the error message for you

deft pivot
#

in general, when asking for help, you should provide the relevant info up front

wicked elk
#

ok

#

im so sorry

#

here is the error message:

#

print("It's cold outside!')
^
SyntaxError: unterminated string literal (detected at line 90)

deft pivot
#

it seems you've mixed your quote types

#

you start the string with " and end with '

wicked elk
#

oh

#

I see

#

thank you

#

I just started learning yesterday

deft pivot
#

i would encourage researching your errors and trying to solve them on your own

twilit parrot
#

the first reaction to seeing an error should not be asking on discord

midnight grail
wicked elk
#

Im sorry

placid cloud
# wicked elk Im sorry

That's more advice than anything. A lot of writing code is fixing errors and bugs. It's simply impractical to reach out for help every time you run into a problem, and most errors you'll run into have existing solutions online anyway. Knowing how to lookup errors yourself and debug are critical skills that you should begin practicing as soon as you can.

obtuse oasisBOT
#
Python help channel closed for inactivity

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.