CS50 Problem Set 1 - Mario Walkthrough (Step by Step for Beginners)

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ส.ค. 2024

ความคิดเห็น • 799

  • @robo1297
    @robo1297 2 ปีที่แล้ว +724

    The jump from scratch to this was crazy for someone who has never coded before. Thanks for the help

    • @scarycrow3638
      @scarycrow3638 2 ปีที่แล้ว

      Ikr its retarded

    • @taiao7700
      @taiao7700 2 ปีที่แล้ว +93

      This was doing my head in lol, cant believe they left out so much info

    • @williamarenas1004
      @williamarenas1004 2 ปีที่แล้ว +55

      @@taiao7700 Same here, not enough info to do this as a newbie

    • @TheFretzone
      @TheFretzone 2 ปีที่แล้ว +62

      Glad it wasnt just me who thought that lol

    • @bobbysack254
      @bobbysack254 2 ปีที่แล้ว +31

      thats the thing about university, the info they teach you in class is never enough to be able to do the homework. and its also not realistic to spend hours on one class’ homework because you have homework for other classes. chegg is a necessity….

  • @letticegal
    @letticegal 4 หลายเดือนก่อน +41

    To anyone else that saw the mario PSet 1 less challenge and thought they weren't good enough for to code or they weren't cut out for it- Watch this whole video write the code along with them and then explain it line by line to someone. It makes so so so much more sense when you do it step by step this way, and once you figure out how nested loops work (kinda like a racetrack with the start being the finish line and the nested loops like parts of the track you have to drive through) it makes the Mario more challenge trivially easy. Thank you so so so much for making this video, because without your help I would have never gotten past it.
    To everyone else trying to do CS50: You've got this, I believe in you.

    • @bedstuy89
      @bedstuy89 19 วันที่ผ่านมา +1

      you are speaking to me. thank you. needed the encouragement

  • @EwanPB
    @EwanPB 4 ปีที่แล้ว +420

    Man thank you so much for this guide, sincerely. I was so stuck on this problem that I was seriously considering giving up completely on CS50 and learning programming.
    I know that copying other people's code is a bad way to learn but I think as a complete beginner pset 1 is too difficult, your video has really helped me understand what I've been doing wrong.
    Thanks again man, you're a legend.

    • @CS50MadeEasy
      @CS50MadeEasy  4 ปีที่แล้ว +23

      Glad I could help! Thanks for the kind words :)

    • @benjaminatieku-dzandu3610
      @benjaminatieku-dzandu3610 4 ปีที่แล้ว +88

      Ewan. thank you for much for sharing your frustrations. I felt the same way and now I know I am not alone. Thanks, CS50 Made Easy. I also understood it much better after watching this video.

    • @kimmyaguilar5408
      @kimmyaguilar5408 4 ปีที่แล้ว +33

      omg I was gonna give up too, I haven't done cs50 in over a week because I was trying to understand it. its frustrating but in the end it'll be worth it :)

    • @geoffreychege2632
      @geoffreychege2632 4 ปีที่แล้ว +41

      I almost put this course on the side. I'm a newbie programming student and I have to say this problem set one makes someone feel like quitting. Thanks for the tutorial. One day when I get good at programming I'm sure I'll laugh at this moment.

    • @Diego-ru7nh
      @Diego-ru7nh 4 ปีที่แล้ว +85

      Hey man I just wanted to give you some future encouragement incase you ever felt like giving up. Just remember that learning to code is honestly really hard and takes a lot of personal effort, after all if it was something that was easy to learn everyone would be a programmer. There's gonna be a lot of times when you'll wanna give up and times when you'll think you're too dumb to be a programmer but don't listen to that. All you have to do is keep learning and growing as a programmer and before you know it you'll be able to build literally anything you want to.

  • @ericvankampen5619
    @ericvankampen5619 4 ปีที่แล้ว +77

    I think Harvard should strongly consider paying you as a teacher. You have a true talent for it. I say that from experience because in my previous career I was head of training people and it is no easy feat to make things digestible for others. You have a great ability to explain things in a way that makes it easy for all to assimilate. Sign of a great teacher!!

    • @CS50MadeEasy
      @CS50MadeEasy  4 ปีที่แล้ว +15

      Thank you so much for your kind words! It really means a lot :)

  • @Ihopeyoureokay
    @Ihopeyoureokay 4 ปีที่แล้ว +68

    Thank you so much, I have 0 knowledge on coding, the jump from scratch to this was a bit much , thank you for explaining this so well.

    • @CS50MadeEasy
      @CS50MadeEasy  4 ปีที่แล้ว +6

      My thoughts exactly! Glad this helped :)

  • @dhirenvatvani9317
    @dhirenvatvani9317 4 ปีที่แล้ว +118

    I guess its simple after all...I can't believe i was stuck for 2 days on this pset. Good job explaining Mr. Mario!

    • @CS50MadeEasy
      @CS50MadeEasy  4 ปีที่แล้ว +9

      Haha don't worry, took me a couple of days to figure it out as well. It's a challenging problem set but keep on going! Glad I could help :)

    • @CS50MadeEasy
      @CS50MadeEasy  4 ปีที่แล้ว +19

      @@ahmedathir6956 Yes! But the jump from Week 0 to Week 1 is one of the biggest, so don't worry!

    • @mohammadmuneeb3922
      @mohammadmuneeb3922 4 ปีที่แล้ว +11

      Man i thought i was the only who was stuck its been a day😂

    • @TheElJoyHunter
      @TheElJoyHunter 4 ปีที่แล้ว +5

      Im stuck there for aweak

    • @jojobaggins6501
      @jojobaggins6501 3 ปีที่แล้ว

      @@CS50MadeEasy I need help

  • @karabum01
    @karabum01 2 ปีที่แล้ว +50

    I was stuck on this for like 3 weeks. Thanks for the explanation. The way you explain with the word file is just something us beginner needs.😄

  • @piotr5646
    @piotr5646 ปีที่แล้ว +14

    I will leave the code here if anyone is still confused.
    #include
    #include
    int main(void)
    {
    int height, row, column, space;
    do
    {
    height= get_int ("height: ");
    }
    while (height < 1 || height > 8);
    for (row = 0; row < height; row++)
    {
    for (space = 0; space < height - row - 1; space++)
    {
    printf(" ");
    }
    for (column = 0; column

    • @skaterman-ml3cw
      @skaterman-ml3cw 17 วันที่ผ่านมา

      bro really really thank you I have been stuck for more than two hours and could not find the problem with my code❤❤😁😁😁😁😁😁

  • @youtubeweb3009
    @youtubeweb3009 4 ปีที่แล้ว +25

    I'm 15 and i just started programming two days ago without any knowledge about programming so i decide to take cs50 course and baammm I'm having a hard time figuring this out but thanks to you sire I've understood it now
    Also I've watched your other videos and damn
    Hope this won't make you uncomfortable but
    I really like you sire you're so cool and you're oozing with intelligence.I hope I'll meet a guy like you.
    Thank you!!

    • @CS50MadeEasy
      @CS50MadeEasy  4 ปีที่แล้ว +3

      Yoo thanks for the kind words! All the best for the course :)

    • @youtubeweb3009
      @youtubeweb3009 4 ปีที่แล้ว +6

      @@CS50MadeEasy Not all heroes do wear capes

    • @ahanabhassan6246
      @ahanabhassan6246 5 หลายเดือนก่อน

      @youtubeweb3009
      How's it going bro? it's been 3 years...btw i'm also 15 now and doing cs50😁.

    • @youtubeweb3009
      @youtubeweb3009 4 หลายเดือนก่อน +1

      @@ahanabhassan6246 Hi, unfortunately, I wasn't able to finish the course, and, damn, it's been 3 years already huh. I am, however, currently studying Computer Science and on my 2nd year college now. I sincerely hope you'll be able to finish this course, best of luck!

  • @mr_mr
    @mr_mr 4 ปีที่แล้ว +41

    The explanation you did in the doc around 8:30 is so helpful. Thank you! The nested logic was something I just wasn't catching before this.

  • @faye2860
    @faye2860 2 ปีที่แล้ว +20

    I just started CS50 this fall and I have no prior computer science experience. This was extremely clear and helpful! I feel like I was able to grasp the concept and not just copy your solution. Thank you so much!

    • @funkeediscotek
      @funkeediscotek 2 ปีที่แล้ว +1

      Me too, no prior computer science experience. I found that this helped me understand what every part of the process meant. I like that you didn't just assume we knew certain basic things-- because I had some gaps in my general knowledge, which these videos got rid of. Also I like how you patiently and thoroughly explained each part of the process, including the simple math and the google doc.

  • @cth95mustang
    @cth95mustang 4 ปีที่แล้ว +35

    Awesome job man! I was really pumped to start taking this course until I saw this problem set. I had followed along with everything, and really felt like I was getting it all. Then they dropped this bomb of a problem as the FIRST one, and I was like, "oh well, I guess I'm done with this course." You explained it very well. I wish other teachers would break down problems like this into manageable chunks, a little bit at a time, to show the concept.

  • @chelseajayvosloo-nevin379
    @chelseajayvosloo-nevin379 2 ปีที่แล้ว +12

    I know this video was posted almost 2 years ago but I just came across it and it was such a blessing. I knew what I had to do for this problem set but I had no idea how to turn what I was thinking into actual code and you just explained it all so perfectly, i feel so much more confident after watching this. Thank you so much ! :)

    • @CS50MadeEasy
      @CS50MadeEasy  2 ปีที่แล้ว

      Thanks for the kind words Chelsea. Glad it helped! :)

  • @boarder9snow
    @boarder9snow 2 ปีที่แล้ว +18

    I seriously can't thank you enough for doing this! Couldn't wrap my mind around getting from the block to the pyramid and how you explained it made things click. Keep up the amazing work!

  • @felixlaw8377
    @felixlaw8377 4 ปีที่แล้ว +28

    Thanks man, i was getting so frustrated on this first problem set and i was going to give up on this course. but your video really made the logic much more understandable !!

  • @ylazz001
    @ylazz001 2 ปีที่แล้ว +7

    I have been going nuts on understanding nester for loops for a day and a half. This was the clearest explanation I could find. Finally. Thanks, great job

  • @CS50MadeEasy
    @CS50MadeEasy  4 ปีที่แล้ว +66

    Make sure to comment any questions you have, I will do my best to respond to all questions! Also feel free to like the video if it helped you, and subscribe for tutorials on other problem sets :) If you feel like you need private tutoring to complete the course quickly or just need some extra help, feel free to fill in the form at cs50madeeasy.com or email me at rahul@cs50madeeasy.com for enquiries :)

    • @CS50MadeEasy
      @CS50MadeEasy  4 ปีที่แล้ว +5

      you don't really need to fill the pseudocode.txt file, if you're inclined to write pseudocode, you can even do it on notes or word!

    • @shubs.
      @shubs. 4 ปีที่แล้ว

      CS50 Made Easy Really? When i try to type in the basic commands nothing comes up. Do you have a social media account where i can contact you and show you pictures so I can show you the problem?

    • @timpumpkin3922
      @timpumpkin3922 4 ปีที่แล้ว +2

      Am I allowed to use this for help, I want to know because I don't wanna look like I'm cheating

    • @nevaehwalker5052
      @nevaehwalker5052 4 ปีที่แล้ว

      Thank you!!

    • @cjnwogu1425
      @cjnwogu1425 4 ปีที่แล้ว +2

      Everytime i try
      $ make mario
      I receive "make: *** No rule to make target 'mario'. Stop.

  • @MilkyWayjay7
    @MilkyWayjay7 4 ปีที่แล้ว +7

    Thank you for the tutorial! I honestly don't know how people who are just beginning to learn programming are about to complete this course in a reasonable time frame; the lectures cover so much material so quickly and then they just give you a brief rundown of what you need to complete each problem within the set, it's like alright this will probably take me 8 hours to actually comprehend.
    The week 0 scratch game alone took me more than 3 days to complete just to get my snake game to work properly without outside help from youtube.
    Anyways this channel helped me digest the problem set within 18 minutes instead of 100 mins so I am very thankful @CS50 Made Easy :)

    • @CS50MadeEasy
      @CS50MadeEasy  4 ปีที่แล้ว +1

      Glad to hear! Thanks for taking the time to comment my guy :)

  • @agnesmachowski6840
    @agnesmachowski6840 4 ปีที่แล้ว +4

    You are an AMAZING teacher!!! During COVID lockdown I decided to learn new skills of coding and I took the online CS50 course in order to get some exposure to programming. I have NO programming experience and the Mario #1 assignment was very challenging for me... I cannot believe I actually understand it now, because of your fantastic video!!!
    Thank you so much. I am looking forward to watching more videos and learning more from you!

  • @vaibhav3874
    @vaibhav3874 4 ปีที่แล้ว +44

    This was fantastic! I'm speechless-you're an amazing teacher! Thank you so much!!!!!! I subscribed and I'm looking forward to more content!

    • @CS50MadeEasy
      @CS50MadeEasy  4 ปีที่แล้ว +2

      Awesome! You're very welcome :)

  • @joshuaboyell779
    @joshuaboyell779 ปีที่แล้ว +3

    Because the column loop is nested in the row loop, every time row is increased, column is initialized to 0.
    This is the most important sentence. Thank you for pointing this out so succinctly.

  • @dustinstratton2946
    @dustinstratton2946 ปีที่แล้ว +2

    So I just have to say that it amazes me that there are people like you who take the time out of there lives to help explain, what is to me a very complex procedure, how to understand these problems. Your awesome.

  • @anthonyavila7680
    @anthonyavila7680 3 ปีที่แล้ว +6

    Thank you for the help, thousands of people have found this extremely helpful including myself!

  • @thenathanimal2909
    @thenathanimal2909 ปีที่แล้ว +1

    I spent about 6 hours staring at this problem and not even beginning to comprehend a solution.
    I was literally going to try and nest 8 for loops that would trigger and print sequentially depending on the user input; and I had idea how or if this would work. I appreciate Harvard offering this class for free, and the professor in general is extremely good, however I felt profoundly unequipped to solve this by the lectures and notes.
    I really want to learn to code and so came here to learn the methodology of this problem in order to understand the craft of coding; Thank you so much for your help.

    • @glungusgongus
      @glungusgongus 17 วันที่ผ่านมา

      I havent even watched this video cause I dont want the answer yet but the question is just horrible. Just a not fair at all question to solve.

  • @nexustech8669
    @nexustech8669 2 ปีที่แล้ว +6

    Thank You!!!! I was stuck for awhile with two nested loops, little did I know I needed that third to help. The way you break it down and make coding so much easier is fantastic, keep up the great job!!!!

  • @foncha08
    @foncha08 ปีที่แล้ว +4

    If everyone explained the logic of everything the way you do, it would be easier to learn these things. Thank you so much!

  • @3daysgracegirl4ever
    @3daysgracegirl4ever 4 ปีที่แล้ว +9

    Thank you! This made me able to understand what the program is doing. After watching this and doing the Mario easy version along with the video I was able to do the hard version on my own

  • @halasus
    @halasus 2 ปีที่แล้ว +1

    I fell like cheating, but I woldnt be able to make it without this video, thanks dudo, you're awsome!

  • @usyntest7034
    @usyntest7034 4 ปีที่แล้ว +11

    3:30 - making the pyramid
    12:30 - converting right aligned pyramid to left aligned

    • @YoIntangible
      @YoIntangible 2 ปีที่แล้ว

      i don't get the way he found it i had gotten to this point on my own #
      ##
      ### but i was lost from 12:30 onward

  • @musicsaves71590
    @musicsaves71590 2 ปีที่แล้ว +3

    Oh man. Thank you! I had all the pieces but was absolutely frustrated because I couldn't get them to fit together. You explained how these loops work in such an accessible manner. Again, thank you!

  • @RenatoChiapello
    @RenatoChiapello 2 ปีที่แล้ว +2

    at First I looked that the video was 18 minutes long and said no way, but you clearly took the time to explain everything so well that it was enjoyable and learned a lot, thank you!

  • @thomasbrittinghamjr.8508
    @thomasbrittinghamjr.8508 11 หลายเดือนก่อน +1

    This was the best explanation that I found on the internet. Well done. Helped me understand the logic behind the code.

  • @Shazbutt23
    @Shazbutt23 8 หลายเดือนก่อน

    thank you so much for this. I was racking my brain trying to figure out if there was something I missed. Turns out they just left out information. I am an absolute beginner and had no way to know that I wasn't playing with a full deck. The "hints" they give you don't really help at all and for me they led me down a rabbit trail. 5 minutes into your video I yelled at my screen "THAT MAKES SO MUCH SENSE!". So thank you truly for this info! I appreciate you so much!!!

  • @laurawoodside7529
    @laurawoodside7529 4 ปีที่แล้ว +5

    This is the best video I’ve seen yet. I love how you break it down in a separate document; it really helped me to understand. Please do more!

  • @kuhenelan
    @kuhenelan 4 ปีที่แล้ว +2

    Man it's the mathematical problem that is the crux of this problem. That's what I couldn't figure out. Thanks for this!

    • @mikesnow7852
      @mikesnow7852 3 ปีที่แล้ว +1

      @Kuhen Elan -- exactly! I knew it had something to do with the "negative" space before the #s, but that math doh!

  • @haruttsormutyan6362
    @haruttsormutyan6362 2 ปีที่แล้ว

    At least 200 beginners in this comment section were struggling from this problem, thank you so much my friend

  • @semple888
    @semple888 ปีที่แล้ว +3

    These walkthroughs help me so much,
    Can you please keep uploading the rest of the weeks of CS50.
    thank you so much for helping everyone.

  • @carolynnovak2089
    @carolynnovak2089 4 ปีที่แล้ว +8

    Thank you for taking the time to walk many of us through this. It's been extremely helpful!

  • @Iskaera
    @Iskaera 4 หลายเดือนก่อน

    I for the life of me couldn’t figure out why it kept adding an extra space but then when I switch from a while loop to a for loop it worked fine the first time. Thanks man this helped days of frustration 😂

  • @pooopymist
    @pooopymist ปีที่แล้ว +1

    You are so good at explaining these problem sets in detail.
    CS50 is really great, but they often seem to just hand you a problem and say "Good luck!"
    Well done!

  • @alyssa7337
    @alyssa7337 4 ปีที่แล้ว +10

    Thank you so much for this! You’re an excellent teacher and explain things so well.

  • @gswarriors220
    @gswarriors220 2 ปีที่แล้ว +1

    duuuuuude!! thank you so much. i am a project manager and taking this class to transition into a more technical role .. so i have ZERO experience and background. your videos really have helped me understand and continue the course - you rock! God bless you

  • @melodiediaz6401
    @melodiediaz6401 17 วันที่ผ่านมา

    This was so good! You are a great teacher. Keep the videos coming! Just FYI for future comment readers, the 2024 specifications no longer require the "greater than 8" part

  • @kis4kiana
    @kis4kiana 4 ปีที่แล้ว +2

    you are so awesome holy I've been stuck on this for a week, EDX should hire you!!

    • @CS50MadeEasy
      @CS50MadeEasy  4 ปีที่แล้ว +1

      Thank you for the kind words! Haha maybe someday :)

  • @amaliadayle5137
    @amaliadayle5137 4 ปีที่แล้ว +7

    Amazing tutorial! Thank you so much you are an excellent teacher and made it so much easier to understand.

  • @leonardoyangzon9834
    @leonardoyangzon9834 14 วันที่ผ่านมา

    This is really helpful. I'm trying to start my computer science journey and was totally stumped at this part. Thank you so much!

  • @fuzzylogics139
    @fuzzylogics139 ปีที่แล้ว +1

    Thank you so much for the calm step by step explanation sir! As someone who loves working on computers, finally started this course and now at week 1 (since 2 weeks, of which I re-watched the lecture 3 times plus the shorts AND the Section video) I am crashing into the fact that all I learned in math-class, now 3 decades ago.. was how to be invisible to the teacher.. But I will persist. Even if I have to cry and hollar my way through! After 3 days of thinking about this problem, I was getting there.. But at some point, just stuck-stuck. So I finally thought: you know what, if I was in a physical University I would go ask my peer or teacher for help by now. I mean it really is just like learning a new language. You're not going to learn what the word for "chicken" is unless somebody tells you it is "Poulet" in French, right? No shame my fellow students in the comment section!

  • @royalbunny2582
    @royalbunny2582 29 วันที่ผ่านมา +1

    I've been stuck on Pset1 for a while as wel, ill come back after years to see this comment and remember the day I couldnt solve this when ill became a pro at it

  • @genesisasmr6874
    @genesisasmr6874 9 หลายเดือนก่อน

    my man's a genius, thank you so much, it actually has so much sense but somehow I couldn't figure it out by myself

  • @LittleSunshineGrace
    @LittleSunshineGrace 4 ปีที่แล้ว +4

    Thank you very much. I was having a very hard time figuring out how to solve this but your video had helped me better understand it. Everything makes sense now.

  • @a.d.c.3553
    @a.d.c.3553 2 ปีที่แล้ว +1

    I haven't even watched the video yet but THANK YOU THANK YOU THANK YOU!
    I have been racking my brains for the past few days trying to figure out this stupid thing.
    THANK YOUUUUUUU!!

  • @holysmokes4493
    @holysmokes4493 ปีที่แล้ว

    I was a just step or two away from getting the answer! I'm swearing up and down my room right now.
    Great video, man. Thanks for the help.

  • @LevyMegami
    @LevyMegami 8 หลายเดือนก่อน

    This was huge, i felt so demoralized trying to figure this stuff out. The break downs of why each loop is working really helped it click.

  • @lauraandrade5966
    @lauraandrade5966 4 ปีที่แล้ว +2

    I already finished the problem but watching this made me understand so much more. You're an amazing and clear teacher thank u legend

    • @CS50MadeEasy
      @CS50MadeEasy  4 ปีที่แล้ว

      No problem, glad it helped! :)

  • @JoeJoe-vn8lf
    @JoeJoe-vn8lf 4 ปีที่แล้ว +3

    You do an excellent job explaining the process of writing code for this example. It made it easy to understand and follow. I am new to programming and this helped me a lot. Thank You, Please keep up the good work

    • @CS50MadeEasy
      @CS50MadeEasy  4 ปีที่แล้ว

      Thanks for the kind words!

  • @trangbui4034
    @trangbui4034 4 ปีที่แล้ว +1

    I just finished mario more comfortable after getting stuck almost 2 days on both problems. But every effort turns into worthy moments. I’m so excited for the next following challenges...

  • @nickparsons3194
    @nickparsons3194 9 หลายเดือนก่อน

    You are a legend was really losing confidence already after just starting and getting stuck on the first problem set. The way you broke everything down was super helpful for someone who has never coded a day in their life

  • @beatrizhelena4528
    @beatrizhelena4528 ปีที่แล้ว

    I started right, but in the "for" I LOST MYSELF and didn't know what to do. U saved me, thank u.

  • @yeeroy
    @yeeroy 3 ปีที่แล้ว +2

    Thank you so much for breaking everything down and even explaining step by step by something is the way it is. You're a great teacher!
    Really helps those of us out who are trying to make a career change and have no CS background at all :)

  • @chrisjarisch
    @chrisjarisch ปีที่แล้ว

    Wow! Absolutely brilliant explanation, as everyone else has said. Ive been struggling with this problem for 2 days. I cant even tell you how many articles Ive read on Stack Overflow, Reddit, etc. Ive been sooooooo close....but nothing 'clicked' till this video. Thanks so much!

  • @karenstoodley1431
    @karenstoodley1431 ปีที่แล้ว

    OMG! I have spent about 20 hours on this and searched and watched so many videos, checked GTP for help...finally someone explains it clearly. Thank you soooooo much!

  • @ericvankampen5619
    @ericvankampen5619 4 ปีที่แล้ว +1

    Thank you very much for taking the time to make this video. I have lost my job because of Coronavirus and decided to make use of the time during lockdown to learn coding. Was about to give up because I couldn't find any useful resources online and I find the Harvard course quite esoteric in it's choice of teaching method. When I succeed at making my career change I will be thinking of you! Thanks for the help.

    • @CS50MadeEasy
      @CS50MadeEasy  4 ปีที่แล้ว

      Yoo thanks for the kind words, all the best!

  • @Betwazzled
    @Betwazzled 4 ปีที่แล้ว

    This information is incredible. Almost every video or guide for CS50 psets just walks you through to the answer without really explaining the mechanics behind it. I'd see a loop and think "okay I'll try and remember that." However, you stop and explain in a bitesize way that is perfect for beginners like me. When you were explaining the rows and columns in the google doc it just clicked for me and I finally understood the nature of the loops. Thanks so much.

  • @runricksanchez
    @runricksanchez ปีที่แล้ว

    Man, am a political scientist with absolutely zero background in computer science. Thanks for the walkthrough. God bless you.

  • @idontknowwhattoputhere371
    @idontknowwhattoputhere371 4 ปีที่แล้ว +3

    I don't usually comment on videos but jeez this was the only video that helped me, instructions were clear and simple. You're an extremely good teacher :) thank you!

  • @Litehamer
    @Litehamer ปีที่แล้ว

    Like many others I a am a complete beginner with no prior knowledge at all. Problems 1 was so far beyond e I thought I must have missed a couple of lectures. I am not sure if I am missing some reference material but I didn't get any of it. I purchased a laptop as I didn't;t have a computer and went for the highest spec I could hoping this would be the first of many courses etc. I was on the verge of selling it on eBay and giving up as I couldn't see where to start let alone finish. I didn't want to copy a solution from the internet, as that wouldn't increase my understanding. However, your guide was great and by the end of the second review I fully understood what lines were doing what.
    Thank you for the amazing work. I may just keep this laptop and study on the commute as planned.

  • @josephgallegos7690
    @josephgallegos7690 2 ปีที่แล้ว +1

    honestly you saved my brain from the last few hours of processing, thank you for your help!

  • @lyssmotta3757
    @lyssmotta3757 ปีที่แล้ว

    thank you very much i'm from Brazil and besides the difficulty of learning in English was not managing to solve this problem on youtube I found nothing in Portuguese missing 2 months to finish my course almost gave up saved my dream today!

  • @kingkarrot9304
    @kingkarrot9304 2 หลายเดือนก่อน +1

    I’m sure this is nothing to someone who understands code, but this is insane for someone’s 1st code problem

  • @eppingdb
    @eppingdb ปีที่แล้ว +1

    Thank you very much for the insights on "how to think." More than just a how-to-do, it opens a new way to see and face the problem in order to find the solution. Great work!

  • @riffslayer1319
    @riffslayer1319 ปีที่แล้ว

    Thanks for the help man, I was beginning to think I'm too dumb for computer science, but this gave me some hope. This is the first time writing anything outside of the "Hello, world" staple, and its not intuitive for a beginner.

  • @hanieg2236
    @hanieg2236 2 หลายเดือนก่อน

    Thank you so much for such a DETAILED and easy to understand video! You are an amazing teacher!

  • @glorytoglorzo5591
    @glorytoglorzo5591 2 ปีที่แล้ว +1

    cs50 harvard lecture: check out scratch, cool huh
    first problem: ok now combine a do/while loop with a nested for loop

  • @fayehand6090
    @fayehand6090 4 ปีที่แล้ว +1

    I have been struggling to understand how the nested loop works but you made it really simple to understand, thank you so much!

  • @jetsetchlo8519
    @jetsetchlo8519 4 ปีที่แล้ว +2

    This tutorial made it so much easier to understand. Thank you!!! I watched other tutorials, but they were so confusing.

  • @vibiririri
    @vibiririri 10 หลายเดือนก่อน

    I wasn't having any issue with the nested loops, it was the fact you could use subtraction in the statements within the for loops which is what had me. Thank you so much!

  • @himanshkohli6805
    @himanshkohli6805 2 ปีที่แล้ว

    Thank you so much. The way you went over the problem in the google doc as if you were the program itself really helped me understand.

  • @tdaswani
    @tdaswani 4 ปีที่แล้ว +4

    If i had seen this when I had done my PSET, I would have probably taken half the time!! This made me realize there were better ways to do the pset lol

    • @CS50MadeEasy
      @CS50MadeEasy  4 ปีที่แล้ว

      There are many different ways to do it, this is only one! Thanks for your comment :)

  • @jrupp2823
    @jrupp2823 3 หลายเดือนก่อน

    thank you rahul. i did the left align pyramid no problem but the right aligned one was making me reconsider all of my lifes choices

  • @Ajesen
    @Ajesen ปีที่แล้ว

    every programmer ever: It makes complete sense/it's super simple really
    jokes aside, you did explain it very well and thank you

  • @srishtimiglani6733
    @srishtimiglani6733 ปีที่แล้ว

    Thank you SO MUCH for making this video. Almost gave up on the CS50 course and I'm so glad I came across this. The way you explained it all and broke it down into small bits was super helpful. Thank you!!

  • @f00tm4st3r
    @f00tm4st3r 9 หลายเดือนก่อน

    dude, this explanation made it so i could figure out the "more comfortable" one on my own! thank you so much, you're a fantastic teacher :)

  • @mouniralabiad3468
    @mouniralabiad3468 ปีที่แล้ว

    What a teacher👏 honestly, if i didnt find this video i think i would've been stuck forever

  • @2snish
    @2snish 4 ปีที่แล้ว +1

    You explaination and friendly attitude is so helpful.I like how you used lot of time and explained everything to the detail so people are able to grab the complete thing without just replicating this code and can try add their own mix of alteration to the code once they understand how its supposed to work.
    Thanks a lot !

    • @CS50MadeEasy
      @CS50MadeEasy  4 ปีที่แล้ว

      Thanks for the kind words, glad I helped! :)

  • @strizzyallen959
    @strizzyallen959 4 หลายเดือนก่อน

    I have been stuck on the for loops and how to incorporate them to get this pset to work for a couple days and im glad I found your video. Thank you!!!

  • @justanothernobody7142
    @justanothernobody7142 ปีที่แล้ว

    Thanks for the walkthrough. I spent an hour on this trying to do it on my own and failed. It made me want to give up. They keep saying that a lot of people doing this course are new to programming but It seems crazy that they expect someone new to coding to be able to solve this problem so early on. It goes from zero to 100 fast. The task before this was just getting a user input and printing it on screen then in the very next task is this. I was expecting a Harvard course to be better thought out.

  • @southmcwow
    @southmcwow 2 ปีที่แล้ว

    I was struggling on this one a lot. Your explanations made it all make sense so now when I'm sitting here looking at the code I wrote, I can actually understand the why to it displaying the pyramid. Thank you.

  • @mateuszbaszkowski1429
    @mateuszbaszkowski1429 2 ปีที่แล้ว

    man, thx a million. I was struggling with this for two days, and couldn't figure out how to put the formula in the code. now it makes sense. Thanks to u now I'm going to do Mario.more hopefully on my own.

  • @megaraph5551
    @megaraph5551 3 ปีที่แล้ว +4

    bruhhhhh, I'm so stupid. I could've solved it if only I knew loops nested in loops reinitialize to 0. Thank you so much for pointing that out brother!

    • @megaraph5551
      @megaraph5551 3 ปีที่แล้ว +1

      Update: Wow 9 months ago? Felt like 2 years already. Seeing this comment makes me so proud of myself. I've already built 3 web apps and more to come. Thank you CS50 and this channel for making my Computer Science journey memorable and fun!

  • @damonmlinaric9254
    @damonmlinaric9254 2 หลายเดือนก่อน

    i watched lecture 1 twice before i actually understood a lot of it properly and still got really confused with problem set 1.I think they did a good job teaching you what everything means and i know i was going to have to use a few for loops but i messed around for 3 days straight all 3-5 hours before finally caving and looking at how someone else did it.i see where i got confused which is great bc ill learn but i hope i get a lot better at working this out for myself eventually.thank you for the help and more importantly the explanations Rahul :)

  • @alexandrabrown-anderson6932
    @alexandrabrown-anderson6932 4 ปีที่แล้ว +3

    This was so helpful! Love the breakdown of logic in word. Thank you!!!

  • @I_am_nooh
    @I_am_nooh 2 ปีที่แล้ว

    Thanks buddy, we south asians rock teaching stuff in TH-cam!

  • @guilhermeverdoodt3528
    @guilhermeverdoodt3528 4 ปีที่แล้ว +1

    Mario! Man... I'm your fan now! Great job, you brought me back to the game... Thanks.
    Keep up the good work.

    • @CS50MadeEasy
      @CS50MadeEasy  4 ปีที่แล้ว

      Thank you for your kind words :) Let's go, we're all in this together!

  • @rosemarie2661
    @rosemarie2661 4 ปีที่แล้ว

    I came here because I was stuck, but it was nice to find I was closer than I thought! Thank you for clarifying :)

  • @streamungodlyhour676
    @streamungodlyhour676 4 ปีที่แล้ว

    I was really becoming frustrated with this problem, i just gave up and searched for a tutorial and im glad I found one!!! Thank you!!! I understood it easily after u explained it!!

  • @SYYang-fh3ee
    @SYYang-fh3ee 4 ปีที่แล้ว +1

    wow... amazing. I've checked other guides but this one is honestly the BEST. Thank you so much for the hard work! Looking forward to watching your other videos.

  • @oliviacolton3661
    @oliviacolton3661 2 ปีที่แล้ว

    Thank you so much! Even other videos or sites weren't giving me the correct result. I legitimately could not have done this on my own.

  • @matueszgabrys1161
    @matueszgabrys1161 2 ปีที่แล้ว +1

    Dude you're an amazing teacher

  • @hokaloah100
    @hokaloah100 2 ปีที่แล้ว

    Thank you so much! I am a 44 year old beginner and alot of this sounds like Greek to me. But this video was well explained. I'll probably have to watch it a few times to get it down but while you are explaining everything, I have no problem following along

  • @williamj7343
    @williamj7343 6 หลายเดือนก่อน

    Thank you so much, Rahul. I've been burning brain cells trying to figure this out. Your video was so straightforward and so helpful. Thank you so much!