Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excercise 2: Part 2 syntax #43

Open
bplilley opened this issue Apr 16, 2016 · 2 comments
Open

Excercise 2: Part 2 syntax #43

bplilley opened this issue Apr 16, 2016 · 2 comments
Labels

Comments

@bplilley
Copy link

Python doesn't seem to like it when I use the variable 'x_' for the minima. Will we get marked down if we use something else (like 'xm')? Or is there some trick I'm missing that would allow the use of 'x_'?

@bplilley
Copy link
Author

For some reason the asterisk symbol didn't show up in my post. So where it says x it should have x followed by an asterisk.

@mvelegar
Copy link

Python, like most languages, only allows alphabets, numerals and underscore in variable names. Characters like * + - / are reserved for arithmetic and other operations. Google Python Operators for details.

You may pick your own variable names, but do not change function names or signatures, so that our test suites work with your code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants