EvilZone

Programming and Scripting => Beginner's Corner => : TheCrazyPasta November 18, 2015, 01:29:56 AM

: Question: Syntax Error / On Variable
: TheCrazyPasta November 18, 2015, 01:29:56 AM
Evening Everyone,

I have been stumped on this for a while now and want to reach out to you guys. This may be super easy for you but this is new to me. I have been running exercises. Language is Python.

This specific exercise is about variables. I can't for the life of me see the error and where i went wrong in this writing.

I know that ^ represents where the issue is however its written correctly in the variable.

attached is the photo of the error and my writing

Thank you In advance!
: Re: Question: Syntax Error / On Variable
: Kurajber November 18, 2015, 01:34:20 AM
:
"There are only,"Switch , and "
:
"There are only",How the fuck did you not see this?
: Re: Question: Syntax Error / On Variable
: TheCrazyPasta November 18, 2015, 01:55:36 AM

:
"There are only,"Switch , and "
:
"There are only",How the fuck did you not see this?

Just a tad embarrassed at this current moment lol. I was over thinking it way to much. Thanks for pointing it out !


Sent from my iPhone using Tapatalk
: Re: Question: Syntax Error / On Variable
: kenjoe41 November 18, 2015, 02:18:09 AM
Uhmm....

http://stackoverflow.com/questions/5082452/python-string-formatting-vs-format (http://stackoverflow.com/questions/5082452/python-string-formatting-vs-format)

https://www.python.org/dev/peps/pep-3101/ (https://www.python.org/dev/peps/pep-3101/)

https://docs.python.org/2/library/string.html (https://docs.python.org/2/library/string.html)

THAT IS ENOUGH READING FOR TODAY.