Questions tagged [cs50x2021]
The cs50x2021 tag has no usage guidance.
9
questions
0
votes
0
answers
12
views
PSET4 2021 Filter Reflect: Images visually flipped correctly but check50 still says the code is wrong
2021 PSET 4 https://cs50.harvard.edu/x/2021/psets/4/filter/less/
Outputted Image clearly is reversed and flipped but I still don't know why check50 doesn't recognize it!!! I'm already torned out by ...
0
votes
0
answers
18
views
PSET9 Finance - Check50 Failing on login - logging in as registered user succceeds -NameError: name 'get_symbol'
@app.route("/")
@login_required
def index():
"""Show portfolio of stocks"""
print("before")
# Store the user_id.
user_id = session["user_id"]...
0
votes
1
answer
53
views
PSET9 Finance- Check50 error - sell page has all required elements - expected to find input field with name "shares", but none found
I get an error when I run the check50 command for Finance problem set. The sell.html template is below:
{% extends "layout.html" %}
{% block title %}
Sell
{% endblock %}
{% block main %...
0
votes
1
answer
98
views
PSET9 Finance - Check50 Failing on login - logging in as registered user succceeds - IndexError: list index out of range
I have been struggling with the Finance problem for a while. Upon running the check50 command, I get the following error:
:( logging in as registered user succceeds
Cause
application raised an ...
0
votes
1
answer
29
views
Not sure why code isn't working: PSet4 Filter (less) - Blur
I'm not sure why my code doesn't work for the blur section of pset4 (filter; less)? (I am aware there's a more efficient way to do this, but am interested in learning what's wrong with this specific ...
1
vote
1
answer
49
views
How can I launch my final project from CS50ide to the internet as a public website of my own?
Hi guys do you know how I can launch my final project which works perfectly on the CS50ide server to an actual domain on the internet? I have all my program files with me, and tried to create a ...
0
votes
1
answer
26
views
PSET 6 Credit More: always gives an output of INVALID
from cs50 import get_int, get_string
import sys
Prompt credit number input
cardnumber = get_int("Number : ")
#copying the credit card numbers into other variable / arrays
cardnumber
...
0
votes
1
answer
37
views
PSET4 RECOVERY does not recover images correctly
I have started working on PSET 4 RECOVERY. My program compiles successfully, it goes through the first 3 tests no problem, but for the love of me I cannot seem to find the problem.
It just does not ...
0
votes
1
answer
271
views
API key or look up function error in cs50 finance pset9?
I was working on the implementation of buy and trying to buy stocks when all of a sudden I began receiveing incorrect/invalid stock symbol for every stock symbol I tried(as if the stock symbol was not ...