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 |
Questions about CS50's Introduction to Programming with Python.
1
vote
Accepted
CS50P PSET 2 Vanity Plates
The problem was caused because zero_first_digit returned None as is pointed out by DinoCoderSaurus.
The check on zero being the first digit is incorporated in the function check_digits_after_digit.
de …
0
votes
2
answers
529
views
CS50P PSET 2 Vanity Plates
I have written the following code in response to the Vanity Plates pset2.
When the input is all text it gets an invalid output, although a check condition is created for this in the check_digits_after …