#๐Ÿ”’ Unterminated string literal

10 messages ยท Page 1 of 1 (latest)

pure pine
#

Hey all, i'm trying to make a long python list however i'm getting the error "syntax error unterminated string literal"

Is anyone able to help me diagnose the error?

Thanks!

Link to code: https://paste.pythondiscord.com/W6MA

carmine pawnBOT
#

@pure pine

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.

ember basalt
#

you don't have an even amount of '' starting/ending your strings

#
x = ['a', 'b, 'c']
#

you have something like this

#

it's actually pretty clear in the paste link because of how it colour codes things

abstract swift
#

Read it!
unterminated string literal

carmine pawnBOT
#
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.