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 not deleted user 23440

Code using the python language.

0 votes

CS50 Pset6: cash.py not returning number of coins used for change

I realized it was because my while condition was while x >= 0 when it should have just been while x > 0. Feel dumb.
novabei's user avatar
0 votes

pset 7 survey: trying to redirect to /sheet returns invalid syntax error

I realized I was missing a parenthesis... I'm dumb.
novabei's user avatar
0 votes
1 answer
2k views

CS50 Pset6: cash.py not returning number of coins used for change

Below is my code for pset6 of CS50, in which the user is prompted for an amount of change in the form of a float, which is converted into cents (e.g. 1.25->125), and the fewest coins needed to make ch …
novabei's user avatar
0 votes
1 answer
308 views

pset 7 survey: trying to redirect to /sheet returns invalid syntax error

For part of CS50's survey problem from pset7, I'm supposed to redirect from a route that checks if the user has entered in all the survey's fields / appends the values to a csv file --> a route that r …
novabei's user avatar