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 |
0
votes
1
answer
122
views
pset9 finance // how can I check whether someone has registered
self.dispatch_request()
File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/ubuntu/pset9/finance …
0
votes
1
answer
149
views
pset9 finance // index function doesnt display the sum of the shares
I am doing pset9 finance and I am kind of stuck because whenever I buy for example FB stocks multiple times it doesn't sum up in to show in the index function.
this is the code:
@app.route("/")
@login_required …
0
votes
0
answers
23
views
pset9 finance // expected to find "112.00" in page, but it wasn't found [duplicate]
Hi I was testing out my code for the buy function to buy a stock but once I tried to buy a stock it gave me this error:
expected to find "112.00" in page, but it wasn't found
and I am not sure what t …
0
votes
1
answer
1k
views
pset9 buy function // buy handles invalid ticker symbol and handles valid purchase having error
File "/home/ubuntu/pset9/finance/application.py", line 106, in buy amount = shares * price TypeError: can't multiply sequence by non-int of type 'float'
this is my code for the buy function where the …