Skip to main content

Unanswered Questions

3,235 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
250 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
1 answer
143 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
69 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, ...
3 votes
2 answers
817 views

Compiler Can't locate CS50 library locally

I'm trying to work on my C psets on my local machine in vscode. I've installed the cs50 library locally but am having trouble compiling. OS is osx 10.14.3 The error I'm receiving when compiling with ...
2 votes
0 answers
147 views

I am trying to solve my Einstein Code

I have written the following code and no matter what I try, the check always fails. Here is my code: user_input=int(input("Give Your Mass in KG to Find E=mc^2 = ")) c = 300000000 d= int (...
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
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
794 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
373 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
556 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
294 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 ...

15 30 50 per page
1
2 3 4 5
216