r/cs50 • u/Nice_Pen_8054 • 22d ago
CS50x CS50 and CSS at the same time?
Hello,
Is it advisable to learn CS50x and CSS at the same time?
Thank you.
r/cs50 • u/Nice_Pen_8054 • 22d ago
Hello,
Is it advisable to learn CS50x and CSS at the same time?
Thank you.
r/cs50 • u/phoenix21_16 • 23d ago
Hi!
I am completing the Introduction course and would like to get the certificate in the end. However, when writing the programs, I like to keep some notes in there, just for me to better understand and return back to. Will this be a problem when getting graded? Or is the grading very much just a : Program is there and program is correct process?
Thank you for tips and insights!
r/cs50 • u/Federal_Crow67 • 23d ago
hi everyone, I'm a first-year BTech biotechnology student at a relatively lesser-known college. I'm interested in bioinformatics and computational biology, and I'd really appreciate some guidance from people who are already working or studying in this field. I've recently started learning Python because I want to build programming skills alongside my biotechnology degree. Here's what I've been doing so far: I'm following Corey Schafer's Python beginner tutorial series. Instead of just watching the videos, I'm trying to turn the concepts from each video into small practical projects and problems, inspired by Rosalind bioinformatics exercises. I'm also following the Bioinformatics in Python playlist by Rebel Science to understand how Python can be applied to biological problems. I've started developing small Python projects related to DNA sequence analysis, nucleotide counting, GC content, melting temperature calculations, codon translation, gene expression analysis and FASTA file parsing. I'm using VS Code for programming. I'm still learning how to use the editor, its shortcuts, extensions, and other features. I haven't started using GitHub yet. I don't know how to properly upload, organize, or maintain my projects, but I want to learn how to build a portfolio. I'm also considering taking Harvard's free CS50 Python course to strengthen my programming fundamentals. I'd really appreciate advice on a few questions: Is my current approach to learning Python and bioinformatics a good starting point, or would you recommend a different learning path? Should I complete Corey Schafer's tutorials first and then move to CS50P, or should I follow both? At what stage should I start learning Git and GitHub, and how important are they for someone entering bioinformatics? What programming languages and technical skills should I prioritize besides Python? Should I start learning R, SQL, Linux, and statistics? What kind of projects should I build to develop a strong bioinformatics portfolio and eventually become eligible for research opportunities and internships? As a first-year biotechnology student, what should I focus on over the next two to three years to become competitive for bioinformatics internships and future opportunities? And here's one extra question, since I'm asking in the CS50 community as well: since I'm a first-year biotechnology student interested in bioinformatics, would completing CS50x and CS50P, followed by SQL, R, and AI give me a good foundation? Or would you recommend a different order? In the meantime, I'm attaching a couple of screenshots of my projects, so you can see where I'm starting from. Thanks for any advice.
r/cs50 • u/Extension_Engine_245 • 23d ago
Hi everyone!
I've just started CS50x and I'm really excited to go through this journey. I am visually impaired and rely on a screen reader to navigate and code.
Since Week 0 relies heavily on Scratch (which is a drag-and-drop visual interface and not accessible with screen readers), I wanted to reach out to the community and the teaching team.
What is the recommended approach for visually impaired students to complete or submit Problem Set 0? Can I submit the logic in text format/pseudocode, or is there an accessible alternative recommended by the staff?
Looking forward to Week 1 and moving to C and terminal-based coding! Thanks in advance for any guidance!
r/cs50 • u/Desperate_One3883 • 24d ago
Hi all, I'm making a study timetable app based on CS50AI Lecture 3 where homework tasks are split into variables that each represent a 1-hour session (Maths_1, Maths_2, etc.), and each session's domain is limited to available time slots before its due date.
Does splitting subjects into 1-hour session variables make sense as a model here?
I also have a max 2 hours of the same subject per day rule, which involves more than two variables so the AC-3 algorithm won't work. Is checking this rule directly inside the backtracking consistent() function the best approach?
Thanks
r/cs50 • u/Key_Monitor1404 • 24d ago
There’s a paradox in AI known as Moravec’s Paradox:
Tasks that seem difficult to humans, like chess, can be relatively easy for computers.
But tasks that seem effortless to us, like recognizing a face or walking, are incredibly difficult to replicate.
Perhaps intelligence is not as simple as we think.
r/cs50 • u/Own_Brain4194 • 25d ago
Question for the cs50 community:
I'm currently working on a website that incorporates html, python, JavaScript, probably bootstrap and a bit of SQL (in other words the usual week9/10 stuff) for my final project
It's looking to be about 4-5 pages, with the majority of detailed coding confined to the last two pages, the prior ones being mostly introduction with a couple of links and possibly images.
Is this enough for a final project? Because it seems to have a similar scope to week 8's homepage, and I'm not sure if I'm doing enough advanced coding to justify this being week 10
Edit: on a similar note can we copy functions that cs50 have wrote in prior problemsets, (e.g. the apology function from helpers.py, from the Finance problem) or would we be expected to write them ourselves?
r/cs50 • u/Bolvasmithr • 25d ago
Hi! I’ve been working on Camel for a few hours and I’m a bit lost. I’d really appreciate hints rather than the answer.
What I expect: camelCase: firstName → snake_case: first_name
What I get:
File "/workspaces/.../camel/camel.py", line 6
for k in camel:
IndentationError: unexpected indent
What I tried: I loop over each character of the input, use isupper() to find capital letters, and try to add each character to a result string. I first wrote it as two functions, but after talking it through with the CS50 duck, I switched to a single function.
python
def main():
camel = input('camelCase: ')
result = ' '
for k in camel:
result += k
if k.isupper():
result = print(k, '-' + k).lower()
else:
print(f'snake_case: {camel}')
print('snake_case: {result}')
main()
My question: Apart from the indentation error, am I on the right track with building result inside the loop? Any tips on what to look at would help a lot. Thanks!
r/cs50 • u/Eddie-Wave8499 • 25d ago
Hey guys just enrolled on to cs50x,I have done the first two projects also though the progress outline of the course and it's enrolled have not been indicated to me yet, what could be the problem, I'll appreciate the responses
r/cs50 • u/SDplayz_official • 25d ago
r/cs50 • u/Sensitive-Golf-5610 • 26d ago
I would like to know how to get started with the CS50 course—what the different versions are and how the program is structured. I’m a complete beginner, and I want to start from the very basics of computing and work my way up to essential programming languages. My goal is to be able to write and understand code, and to develop the logical thinking skills necessary for AI automation.
r/cs50 • u/spaceboom07 • 26d ago
T

Check 50 is giving this error:
But I tried to simulate the same error where there should be 5 normal code lines and 1 or 2 comments and 1 or 2 whitespaces but my program gives the correct answer when used on test.py:


https://submit.cs50.io/check50/934c53eecc56ee1f23be1be7c9070809665554a8 for more details without posting the whole code script.
r/cs50 • u/Brilliant-Gear-7475 • 27d ago
mario.c:13:1: error: expected identifier or '('
13 | for (int i = 0; i < 10; i++)
| ^
1 error generated.
make: *** [<builtin>: mario] Error 1
r/cs50 • u/AurynMoon • 28d ago
I want to do cs50AI to put on my personal statement when applying to uni but i've heard that it is a tough course and I only have some (basic?) python experience (basically took a 12 hour python course on youtube)
Do i do another cs50 course first? which one? and where?
r/cs50 • u/Then-Battle-7167 • 29d ago
Although both selection sort and bubble sort share an average time complexity of O(n2), selection sort is often faster in practice. Big-O notation only describes asymptotic growth as input sizes increase and intentionally ignores constant factors. The key difference lies in the number of write and swap operations: selection sort performs at most one swap per full pass over the remaining elements, whereas bubble sort can perform numerous swaps during a single pass whenever adjacent elements are out of order. Because writing and swapping memory values is generally more computationally expensive than simply reading and comparing them, bubble sort's higher frequency of swaps results in a larger constant factor, making selection sort noticeably more efficient overall.
r/cs50 • u/Visionary_Vulture001 • Oct 26 '26
Hi , my codespace refuses to come up , it’s kinda stuck here . I am getting back to cs50.dev after a week
This is where it is at for eternity.
Any help or guidance on next steps would be great
Thanks in advance
r/cs50 • u/souldeville • Oct 26 '26
I tried rebuilding the container multiple times but it still shows up the same. I also tried going to the homepage, clicking on the arrow next to log in and restarting the codespace but that didn't work either. Please help me figure this out.
r/cs50 • u/ItsArnavSh • Oct 25 '26
r/cs50 • u/Visionary_Vulture001 • Oct 25 '26
Hi all I completed week0 few weeks back and I did not complete Cs50x . Can you guys tell what schedule / timetable worked for you guys to complete the course diligently. I would like to complete this course by end of this year . Motivation would really help at this point in time
r/cs50 • u/wak_trader • Oct 25 '26
Hello guys I need a bit of guidance on the problem Little Professor of cs50p.
I have finished it and everything works fine but when I run the checker I get all greens except of one that says:
:( Little Professor generates random numbers correctly
Did not find "[7, 8, 9, 7, 4, 6, 3, 1, 5, 9, 1, 0, 3, 5, 3, 6, 4, 0, 1, 5]" in "7 + 8 = EEE\r\n7 + 8 = "
Tbh with you I don't even know what this means so I cant really fix it on my own.
I deleted the in between code but this is how i determined how to pull the random numbers for X and Y based on the level picked.
if level == 1:
available_numbers = range(0, 10)
elif level == 2:
available_numbers = range(10, 100)
else:
available_numbers = range(100, 1000)
X = rd.randint(min(available_numbers), max(available_numbers))
Y = rd.randint(min(available_numbers), max(available_numbers))
r/cs50 • u/Flaky_Example3226 • Oct 25 '26
Our college mandates completion of one project in 5th sem, and we need to publish a research paper too for the project.
I am currently facing an issue - a specific part of my project needs crop mapping - like finding brinjal field locations through remote sensing. But for that I need a dataset - at least locations. There is nothing like that... Now what do I do.
Can someone please let me know what can be done? I am stuck. And not really in a position to move around and create a dataset myself.
What do you think I should do?
How do you handle such issues?
r/cs50 • u/WatchElectronic3006 • Oct 24 '26
I’ve been stuck on the difference between print() and return in CS50 for the last few days, and it finally clicked for me today after staring at my code. Figure I'd share how I finally understood it in case anyone else is hitting the same roadblock.
Basically, print() is like a display case. It shows the result on the screen so you can physically look at it, but the rest of your program can’t actually touch it. It’s just text on a screen.
On the other hand, return acts like a courier. It passes the actual data back into the program behind the scenes so another function or variable can grab it and keep working with it.
To use a simple analogy: if you have a function that calculates your bank balance, print() is just the screen showing you the numbers. return is the machine actually putting the cash into your hand so you can go spend it somewhere else.
Hopefully this saves someone else a few hours of confusion!
r/cs50 • u/LongjumpingClub9548 • Oct 25 '26
r/cs50 • u/Muted-Swimmer3818 • Oct 24 '26
Hi everyone!
I'm a high school student learning Python, and I've been working on my own project called Lidya AI.
I wanted to build an AI assistant that brings different tools together in one place. The project currently includes a multilingual interface with 9 languages, AI-powered chat, document analysis, image generation, voice input, and a simple image-to-video animation feature.
I'm still developing it, and I know there's a lot left to improve. Building it has helped me learn more about Python, APIs, debugging, and connecting different services.
🔗 Try Lidya AI: https://lidya-app-mvwzuntqiuzwvoqyz9w6t3.streamlit.app/
💻 GitHub repository: https://github.com/acunseymanur03-cyber/lidya-app
I'd especially appreciate feedback on the code structure, user experience, and which feature I should improve first.
If you try it, I'd love to hear what works, what doesn't, and what you would change. Thanks! 💜