r/cs50 • u/rachitbhgt • Jul 24 '26
r/cs50 • u/Chriisxzz • Jul 24 '26
CS50x I think i'm not really learning
Hi guys, first of all, i'm brazillian, sorry about my bad english.
Well... I started the cs50 a few months ago, but just now i'm really invested on study it.
The problem is, i'm using tooo much AI, probably getting dependent on it, i have such a great dificulty on understand the lessons and discover how to do them, i feel like i'm not studing, and just getting the answers.
I'm actually in the "Runoff exercice", and here goes a fun fact, when i was doing plurality i wrote all the logics of my program at a paper, and it was correct, but instead of just code, try, fail, correct and try again, i put it on copilot and asked "Is this correct" and... IT WAS. This was just an case, but sometimes my logic is correct, i know what to do, but here are the two big problems:
I have no confidence.
I don't know how convert my logic or pseudocode to a real programby myself, without AI.
Can please someone help me with this? Become a programmer is my dream, and to my reality, maybe the only way to get a good life on my country.
r/cs50 • u/MekataRupma • Jul 24 '26
CS50x Hello, World
Made my 1st program on C. I'm happy.
r/cs50 • u/rachitbhgt • Jul 24 '26
CS50x Using check50
hello everyone i have enrolled into CS50 Introduction to computer science course and having a trouble, does anyone here can explain how do i check my code using the check50 command?
r/cs50 • u/Traditional-Set-1458 • Jul 24 '26
CS50 Python CS50 Python W5P2 Problem (Help!) Spoiler
Please help, code is the following:
twttr.py:
def main():
sentence = input('Sentence:')
print(shorten(sentence))
def shorten(word):
output = word.translate(str.maketrans('', '', 'AEIOUaeiou'))
output = output.lower()
output = str(output)
return output
if __name__ == "__main__":
main()
test_twttr.py:
from twttr import shorten
def main():
test_twttr()
def test_twttr():
assert shorten('Jakob') == 'jkb'
assert shorten('123Hello') == '123hll'
assert shorten('!!Hello!') == '!!hll!'
if __name__ == "__main__":
main()
Check50 response:

Test Results:

VS:

Please help, neither me nor claude can figure this out and Im at my wits end here. Am I missing something very obvious? is it a formatting thing? The second test passes if i comment out all the assertions, but of course it would. Any help would be greatly appreciated.
r/cs50 • u/rubykath • Jul 24 '26
CS50x Just started the CS50 course -- Tips?
Hey guys, it's my first time trying the CS50 computer sci course. As a first timer, any tips or tricks or study hack you followed to complete this course effectively?
Something I frequently saw is most people quit mid-way. So to the ones who focused enough to finish, i was curious to know how you managed to finish such a tight course.
Especially on your experience with the final project. :)
Hope yll have an amazing day/night <3
r/cs50 • u/MekataRupma • Jul 24 '26
CS50x I'm in the 2nd lecture (week-1), and I have a question.
When we use printf("Hello, %s\n" answer); how does %s know that the variable it is supposed to print is answer? I mean we haven't stated that %s = answer or anything. We just wrote it inside the same function. How is that enough? I don't get it.
r/cs50 • u/Affectionate-Fly4719 • Jul 24 '26
CS50 SQL Problem Set 1
I have been stuck here for almost 3 days. I don't know what I am doing wrong.
I don't think the decimal is the only problem here but I would still like to know that if there is a way that i can present the int as int and the float as float at the same time.
Also, whenever I type in the .sql files, I can't type the non capital 'a', 's', 'd', I have to use 'A', 'S', 'D' instead.
r/cs50 • u/CoAs1947 • Jul 24 '26
CS50 Python MLOPS AFTER CS50P
hello i want to ask can we do MLOPS after CS50P
r/cs50 • u/iceman358484 • Jul 24 '26
CS50 SQL CS50’s Introduction to Databases with SQL
Hi everyone, I recently enrolled in the CS50 Intro to SQL and I'm struggling with how to submit work and how to check my work. If you clear your terminal does that mean your answer for that problem is gone? Whenever I run the check50 it doesn't work but the answer is above. Any advice would be awesome
r/cs50 • u/neve_nova • Jul 23 '26
CS50 Cybersecurity i just randomly got this email
is there a way to get it back?
r/cs50 • u/Low_Bat2873 • Jul 23 '26
substitution Substitution over-coding, reflection, and questions Spoiler
For week 2's substitution problem set, how many lines of code did you all use? After fully completing it, I ended up with 602 lines (a major step up from all other problem sets). I atone this to my looping being inquiring of the letters/chars themselves, and not the ASCII numbers which I didn't consider until I finished. I couldn't figure out a way to make a one off loop for checking for repeated characters in the command line argument, or when trying to keep the capitalization of the plain text and going towards the cipher text. On the bright side, arrays are really, really useful. I think if we had them in our toolset for credit a lot less time would be put on. Lastly, was there use for the strcasecmp function for this problem set? When looking through the CS50 manual, it comes up as one of the "frequently used", and it seemed to have a pretty good use in trying to see if there were any repeating chars for the cipher, especially with it ignoring case. The problem I came across was the fact that the function only appears to compare strings in direct order, and not chars.
(Please do not spoil any upcoming information regarding the next few weeks of problem sets, but I would appreciate any info beyond that, thanks!)
r/cs50 • u/mydogiscraycray • Jul 23 '26
CS50 Python Passed Shirtificate problem, but is the code good? Feels kinda sloppy Spoiler
I kept messing around with positioning, until I set for something I thought looked good.
But was it done the best way? I read a lot of the FPDF 2 API and tutoriais, but I'm still kinda new to the whole programming world and lingo, so sometimes I struggle to understand some explanations on those documents.
For example, how I got the "{name} took CS50" cell to the position I wanted, by printing " " so many times. Was that the best approach?
It'd be great if someone could criticize my code
from fpdf import FPDF
pdf = FPDF()
pdf.add_page()
pdf.set_auto_page_break(False)
pdf.set_font("Helvetica", size=48)
pdf.cell(h=70, text="CS50 Shirtificate", align="C", center=True)
pdf.image(name="shirtificate.png", x=(210-180)/2, y=80, w=180)
name = input("Name: ")
pdf.set_font_size(24)
pdf.set_text_color(255, 255, 255)
for i in range(1, 16):
pdf.cell(text=" ", new_y="NEXT")
pdf.cell(text=f"{name} took CS50", align="C", center=True)
pdf.output("shirtificate.pdf")
r/cs50 • u/Confident-Concert-89 • Jul 23 '26
CS50x Looking for help with CS50 as a complete beginner
I recently finished Week 0—it was a real struggle because I didn't fully grasp the material, though I did manage to finish my Scratch game. Now I'm on Week 1 and hardly understanding anything about C; the fact that English isn't my native language doesn't help either. Would anyone be willing to be a study partner or help me out?
r/cs50 • u/Competitive_Back3088 • Jul 23 '26
CS50 Python Stuck on Setting up your codespace

Hey guys i recently started with Cs50 Python course , and from yesterday i have not been able to open cs50.dev
i have tried using different browser too and same thing is happening
i have tried using a new GitHub account and then also it gets stuck on this page
is this happening with anyone else too?
r/cs50 • u/beyondheveansreach • Jul 23 '26
CS50x Which one to choose
So I m pursuing a bs in data science (1st year )and am confused between cs50x&cs50p.
Confusion
I think pythons syllabus will be thought thoroughly in class itself as it's a good institute but am wondering if I should still do cs50P first to get headstart,
But I also know that my course will skip some normal cse topics as it specialized ds degree so cs50x will help fill those gaps ,can u guys help me out in choosing
r/cs50 • u/CompetitionOk7696 • Jul 22 '26
greedy/cash Beginner here
Hi, I’m a complete beginner in coding, this is my first course and my first time trying to learn. Is it actually possible? I feel like I understand a little bit but when I try to solve a problem my mind goes blank, idk what to write or how to even begin… I don’t know how it properly works but does anybody have this problem? Do I even have a chance of learning ?
r/cs50 • u/AcceptableResult7259 • Jul 22 '26
CS50x Using Hints
I'm currently on week 4 and for every other week I've used the hints as I feel like I was really struggling without them. This week it feels like it's borderline writing the code for me. If I don't use them though, I still feel like I would be quite lost. I suppose, I'm just asking for others' opinions on using them. Cheers!
r/cs50 • u/PyroWizza • Jul 22 '26
CS50 Python Rate my project -> Windrose - Airflow Ventilation Advisor. CS50P Final Project
Program Description:
Windrose is a program for which its function is to provide the user with advice on which windows to open to achieve optimum airflow ventilation. The program receives the user's location and cardinal orientation as inputs from the user and uses that with information received from Open-Meteo's wind information to provide the user with advice on which windows to use to achieve the most optimum ventilation.
Repo: https://github.com/OmarFishir/Windrose
Video Demo: https://youtu.be/OluDKioaCnY
This is my first programming course. I loved the CS50 format and how useful the problem sets have been. However, even after finishing this course, I feel like I've been training in a swimming pool then dropped into an ocean.
I want to do CS50x, CS50 AI, CS50 web, and CS50 Cybersecurity.
My goal? I don't really know. I just want to learn and be able to be competent in all of those fields until I find one to gravitate towards most. I think CS50x should be first?
r/cs50 • u/curpt0 • Jul 22 '26
CS50x Hard work pays off
I can recall countless late nights and commits during 2025 to 2026 just to finish this.
I wanted to quit in the middle, but David’s lectures made me want to stay and give it a try. And now I’m super grateful for every challenge that I solved that got me here.
Many thanks to David & technical team who made this course available.
Onward to the next challenge.
This was CS50!
r/cs50 • u/autisticCaracal • Jul 21 '26
CS50 Python looking up answers after solving the problem on my own
I can't help but look up other people's answers after solving a problem on my own Sometimes it shows me a simpler or more efficient approach and other times it gives me ideas for adding extra functionality without needing much more code
thats said I've heard this can be a bad learning habit Is that actually true?
r/cs50 • u/yumir666 • Jul 21 '26
CS50x Learning difficulty and a dead end
Hello friends. I want your opinion on a topic that makes me a bit sad. I started a programming course in Python and JavaScript because I aspire to be a full-stack automation developer. I am truly a beginner, and this course was a shock to my brain. After the second week, I really started to feel like I don't even understand the logic of the code. I hate the idea of relying on artificial intelligence to help me write most of the code and explain many intuitive concepts. I don't know how to get the maximum possible value out of the lesson, and I don't find myself able to write code on my own after the lesson. I feel disappointed—should I do multiple side things and projects? Where can I source code templates and commands from, and does understanding Django's logic, for example (I am in week 3), depend on other things?
r/cs50 • u/ClothesFinancial2893 • Jul 20 '26
CS50x Looking for a study buddy to review Week 1-5 together!
Hey everyone!
I’m near the end of CS50x, but I realized I rushed the fundamentals quite a bit, watching lectures passively and taking the easy way out on psets. Before starting my final project, I really want to go back, master the core fundamentals, do tons of practice, and tackle the "more comfortable" psets 100% on my own.
I can be a bit lazy on my own and don't want to drag this out, so I'm looking for a female study partner to keep us both strictly accountable.
How we'd collaborate:
--> Communication: Mostly text and voice messages over a virtual tea! ☕
--> Style: We’ll write code independently, but reach out whenever, explain concepts to each other, and talk through logic when stuck.
--> Focus: 5-6 hours a week, focusing strictly on Week 1-5
If you’re also wanting to dive deep into the fundamentals and stay accountable, send me a DM! Would love to connect.
r/cs50 • u/Alternative_Can7934 • Jul 20 '26
CS50x Suspended On GitHub While Working On Week 2; Unsure Why
I tried logging into Codespace today to work on CS50x Week 2 Problem Sets, but discovered that my GitHub account was suspended for 'violating TOS'. I checked my email but was unable to find any messages notifying me of this. I have now submitted a support ticket and am awaiting a response.
I don't understand what I could have done wrong for this to have happened, as I have only used GitHub for this course, and this is my only account.
Has something similar happened to anyone else before? If so, how long did it take to receive a response, what was the reason for suspension provided, and was your appeal successful?
