6 votes
Accepted

pset6 python bleep

Is the problem that you have hardcoded the input file to "banned.txt"? From the specification: Accepts as its sole command-line argument the name (or path) of a dictionary of banned words (i.e., ...
user avatar
3 votes
Accepted

Speller 2019: dictionary could not be unloaded and the program identifies misspelled words wrongly

The errors give a very good clue to the problem. Program is "case sensitive" and must be "case insensitive". Perhaps investigate how you can use strcasecmp (as Zamyla mentions in the check walkthrough)...
user avatar
2 votes
Accepted

Problem Set 3 (Resize) Help

Not exactly clear what you're asking in your first question, but I know what you should be asking, so here goes. ;-) The file can't simply be multiplied by some scaling factor. Each line of pixels (...
user avatar
  • 63.4k
2 votes
Accepted

Problems with check50 for pset2 caesar 2019

To answer your first question, check50 is not available in the Lab. (check50 is not introduced until Week 3 when you will move to the IDE). edit To answer your second question, you are only seeing a ...
user avatar
  • 18.3k
2 votes
Accepted

I am ABSOLUTELY STUCK! (mario less)

I tried running your code in the sandbox, resulting in an additional row without any hashes on top of the pyramid (you can see the space between the pyramid and the height prompt). To solve the ...
user avatar
2 votes
Accepted

I don't think that I will be able to finish CS50 before the end of the year. Will I be able to continue the course next year?

https://cs50.readthedocs.io/faq/cs50x/#i-won-t-be-able-to-finish-the-course-before-31-december-2019-what-will-happen I won’t be able to finish the course before 31 December 2019. What will happen? ...
user avatar
  • 20.7k
2 votes
Accepted

Enrolled in 2018, upgraded for certificate in 2019, can I still get the CS50x certificate in 2020?

Yes, your progress from 2019 will carry forward to the 2020 course, but you'll need to complete the course using the 2020 materials. We'll publish transition instructions in January (much like the ...
user avatar
  • 18.3k
1 vote
Accepted

2019-2020 Progression bar red beside finished

If it’s red it means you have not summited all the pset’s so you need to check which pset is marked as unfinished
user avatar
  • 418
1 vote
Accepted

having problem in check() in cs 50 finance

I don't think it's a good idea to add listeners in a callback that way. They can pile up. The empty form does not seem to have one, empty form would submit, and you have no code for removing them ...
user avatar
  • 20.7k
1 vote
Accepted

unused variable error when trying to create separate table for each user's transactions in finance problem

Can't speak to the user error because I'm not well versed in flask, other than to say that an unused variable is pretty much self-explanatory. But, hopefully, this explanation will make the whole ...
user avatar
  • 63.4k
1 vote
Accepted

survey : ValueError: too many values to unpack (expected 4) in template sheet.html

Your answers is going to be a list of each list of answers (ie, a list of rows). The actual 'title' of those answers isn't in the file. You only need to iterate over each line and then iterate over ...
user avatar
  • 18.3k
1 vote

CS50 Recover compiles, but doesn't compile on check50?

Do not include bmp.h, it's not in the directory when compiled by check50. If you need something from that file (e.g. #include <stdint.h> and typedef uint8_t BYTE;), copy it into your recover.c.
user avatar
  • 20.7k
1 vote

I don't know why check50 HATES ME?! mario.more

As per the specification the bottom-left corner of the left-hand pyramid should be left-aligned with the terminal window and therefore the number of preceding spaces should not be hard-coded.
user avatar
1 vote

I am ABSOLUTELY STUCK! (mario less)

You can check your own style by running style50 mario.c You can see the tests used for grading by clicking the check50 button next to your submission on cs50.me/submissions With both of those ...
user avatar
  • 18.3k
1 vote
Accepted

It doesn't work?!!! (Mario less)

The errors are self explanatory. The code accepts 0 as a valid input, it should reject it. In all the pyramids that the code prints, the first line has two #'s. There should be only one. Is it ...
user avatar
  • 63.4k
1 vote
Accepted

I need help with cash - again

Cut and paste error. What is the value of a dime? A nickel? A penny? I'm sure it isn't 25 cents each! ;-) When you get to the point that you're not seeing the forest for the trees, as is the ...
user avatar
  • 63.4k
1 vote
Accepted

I need help. (pset 1 - cash) I don't get this!

Why does the code increment the amount of change, i, each time it subtracts the value of a coin from it? You should be using a separate variable to track the number of coins.
user avatar
  • 63.4k
1 vote
Accepted

How to print out hashes in mario(less comfortable)? (2019)

You assign the height to variable i, and on the next line you overwrite it with 0, throwing away the user input. Make the row counter a different variable, and name your variables according to their ...
user avatar
  • 20.7k
1 vote
Accepted

pset6 bleep: Problem with difference between list and string

Firstly, the method split returns a list; and as per the line inputList = [input.split()] your're enclosing the returned list within another which yields the nested list. Secondly, you might want to ...
user avatar
1 vote
Accepted

Adding a code block to perform operations on float

So you decided to make some functions, why not. The function definition would be like return_type function_name(param1_type param1_name, param2_type param2_name, ...) { // body of the function } ...
user avatar
  • 20.7k
1 vote

Problems with check50 for pset2 caesar 2019

Answer 1: This is the proper way from the pset page check50 cs50/2018/x/caesar but we are now in 2019 check50 cs50/2019/x/caesar Caeser Pset Page Answer 2: In the picture it shows that you just ...
user avatar
  • 142
1 vote

CS50 Finance/pset8 2019 /check

Perhaps revisit the Words example in Lecture 7, which does something similarly using javascript. https://cs50.harvard.edu/college/weeks/7/notes/#words In that Words example: The Python code in ...
user avatar
  • 18.3k
1 vote

pset6 python bleep

The block of code that needs to be changed is as mentioned below after the line 15: save the file name from the command line argument into a variable called banned_text banned_text = argv[1] ...
user avatar
1 vote
Accepted

continue from 2018 to 2019

Have a look at your gradebook. I would expect that you don't have grades for Resize, Recover (both pset3 this year), Homepage (pset5) and the final project. Is that what you are seeing? You will ...
user avatar
  • 18.3k
1 vote
Accepted

Pointers to pointers within structures

custInt *b = a -> cI; b = malloc(sizeof(custInt)); First line initialises b to a -> cI. Second line discards that value to replace it with the address returned by malloc. To assign to both, ...
user avatar
  • 20.7k
1 vote
Accepted

Confused on where to start after 2018 - 2019 switch

You're right, there are some substantial changes for 2019. A lot of the first half of the course content has been compressed into less time and some has been removed. However, the latter half of the ...
user avatar
  • 63.4k

Only top scored, non community-wiki answers of a minimum length are eligible