Unanswered Questions
3,314 questions with no upvoted or accepted answers
5
votes
0
answers
2k
views
How to call the usd function in the jinja template of quoted.html?
I want to display the cost of the share in Quote tab using the "usd" function defined in helpers.py.
I've tried adding app.jinja_env.globals.update(usd=usd)in application.py and then calling the ...
4
votes
1
answer
247
views
Functions returning a value?
I'm trying to implement multi-dimensional arrays in Scratch, for an implementation of maze generation.
To simplify, I'd like to implement a couple of custom blocks which return a value, e.g. ...
3
votes
0
answers
84
views
I got an error in check50 but my application runs fine
ObjectNotExecutableError: Not an executable object: 'SELECT 1'
File "/usr/local/lib/python3.11/site-packages/check50/runner.py", line 148, in wrapper
state = check(*args)
^^^^^^^^^^^^
File &...
3
votes
1
answer
2k
views
How to submit assignment using git bash?
I am trying to submit the assignmet0 for CS50's Game Development. I have used git bash, just want to make sure what I did is correct and also asking if my understanding of git is correct. I did the ...
3
votes
3
answers
5k
views
CS50 IDE not working
My IDE was working fine until now. Now it's stuck in this loading state (see image attached). Internet connection is perfect. Cloud 9 status says erverything is fine. Does anybody have the same issue?
3
votes
1
answer
66
views
Google Earth frame is displayed in front of javascript alerts
When I click start engine in the right rail of the application, an alert is displayed behind the Google Earth frame of the Harvard Yard.
I cannot click on any items that are displayed on this alert, ...
2
votes
1
answer
65
views
PSET9 keeps returning no results
I am trying to submit my pset9 Finance problem but I keep getting "no results" even though my tests checking accordingly. What could be the issue
2
votes
0
answers
1k
views
README.md does not contain all of the required information
I am doing CS50W course, Web Development with Python and JS. The Capstone project requires a README.md file. Requirements defined here: CS50W Capstone Requirements
I have changed and submitted my ...
2
votes
1
answer
28
views
Just getting started
Before I start the program, I wanted to hear more about the CS50. I haven't tried anything in Comp Sci or Programming before and honestly have no idea what to expect. Can anyone give me a little more ...
2
votes
1
answer
68
views
Students only passing 4/6 the last two showing concatnation error but works locally somebody help
[33mTraceback (most recent call last):[0m
[33mFile "roster.py", line 34, in
main()[0m
[33mFile "roster.py", line 27, in main
print(row[0] + " " + row[1]+" "+ ...
2
votes
0
answers
766
views
CS50 - PSET2 - Substitution Segmentation fault
I keep getting 'Segmentation fault' every time I run the code(mentioned below). The code is compiling just fine. It's asking for input and is returning required message when the command line argument ...
2
votes
2
answers
2k
views
Unable to pip install submit50
Following CS50 Game development.
Trying to submit my assignment, i have python 3.8 installed.
while pip installing, I received following error message:
("submit50 does not support Windows directly. ...
2
votes
0
answers
358
views
View README.md in CS50 IDE?
I've created my README.md file for my final project. I'd like to check how it looks before submitting. How can I "preview" markup files in the CS50 IDE?
2
votes
0
answers
546
views
OSError: [Errno 99] Cannot assign requested address in pset7 2019
I am trying to send email via my server to the persons who have done their registration. Their information is getting stored in database( csv file) but when I click on submit button, nothing loads and ...
2
votes
1
answer
289
views
CS50 2019 PSET8 updating API from 2017 API
I have a lot of work from finance 2017, but it seems to use a different API than what I used last year. How do I update my code to use this new API? Or can I just use the one from last year? (I don't ...