Skip to main content
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
Results tagged with
Search options questions only not deleted user 40623

Code using the python language.

1 vote
1 answer
165 views

CS50 Vanity plates

I modified my code with respect to the suggestions given in the comments using regex as follows, but when all my characters are letters it gives out an output of "invalid" whereas it should not: …
Grace 's user avatar
  • 27
1 vote
1 answer
297 views

Vanity plates Problem

The following code is my code for the vanity plates problem in cs50 introduction to python course. My issue is on the "Punctuation Function". …
Grace 's user avatar
  • 27
0 votes
1 answer
31 views

Vanity plates Regex problem

I have this code using regex as follows, but when all my characters are letters it gives out an output of "invalid" whereas it should not: import re def main(): plate = input("Plate: ") if i …
Grace 's user avatar
  • 27
0 votes
2 answers
28 views

Felipe's Taqueria: output check problem

This is my code for the Felipe Taqueria's problem and the output is as expected but I am required to output "Total" before the prompt "Enter your order" but I am unable. Someone help me output "Total" …
Grace 's user avatar
  • 27
0 votes
1 answer
28 views

grocery list problem, can the test code commit an error?

Here is my program for the grocery_list problemin python cs50. …
Grace 's user avatar
  • 27
0 votes
2 answers
30 views

Outdated problem cs50 python

This program is supposed to take as in put dates in two formats: "month/day/year" and "Month day, Year". When I enter dates in the form "September 8, 2024" the program reprompts the user but when I en …
Grace 's user avatar
  • 27