Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Code using the python language.
1
vote
1
answer
38
views
PSET 7: test_numb3rs.py validation issue
I am not sure how to ensure the below criteria is met keeping validate function intact. Please help me understand what I should be doing here
"Modify the validate function in the correct version of nu …
0
votes
1
answer
35
views
PSET 5 Test plates : getting exit code 0 instead of 1
test_plates:
from plates import is_valid
def test_correct():
assert (is_valid("ASD123")) == True
assert (is_valid("ASD")) == True
assert (is_valid("AS2")) == True
assert (is_valid("A …
1
vote
PSET 5 Test plates : getting exit code 0 instead of 1
I am posting the answer so that if somebody faces similar issue, they find it helpful.
I had missed to include an important information from the original vanity plates problem while doing this problem …