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

Поділитися
Вставка
  • Опубліковано 26 січ 2025

КОМЕНТАРІ • 819

  • @robo1297
    @robo1297 2 роки тому +822

    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 роки тому +102

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

    • @williamarenas1004
      @williamarenas1004 2 роки тому +62

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

    • @TheFretzone
      @TheFretzone 2 роки тому +66

      Glad it wasnt just me who thought that lol

    • @bobbysack254
      @bobbysack254 2 роки тому +33

      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 10 місяців тому +78

    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 5 місяців тому +1

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

  • @EwanPB
    @EwanPB 4 роки тому +434

    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 роки тому +90

      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.

    • @Mushroomlovrr
      @Mushroomlovrr 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 роки тому +42

      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 роки тому +87

      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 роки тому +90

    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 роки тому +17

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

  • @Ihopeyoureokay
    @Ihopeyoureokay 4 роки тому +77

    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 :)

    • @kydrontillis5732
      @kydrontillis5732 7 днів тому

      Honestly, I was stoked to do my next PSET after building the game on scratch. This was a totally different monster. Super thankful for this tutorial!

  • @joshuaboyell779
    @joshuaboyell779 Рік тому +12

    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.

  • @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.

  • @karabum01
    @karabum01 2 роки тому +51

    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.😄

    • @7mzhl
      @7mzhl 3 місяці тому

      What week is this from?

    • @Default_-ij5oc
      @Default_-ij5oc 2 місяці тому

      @@7mzhl week 1

  • @halasus
    @halasus 2 роки тому +3

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

  • @faye2860
    @faye2860 3 роки тому +21

    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.

  • @dhirenvatvani9317
    @dhirenvatvani9317 4 роки тому +121

    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 роки тому +10

      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 роки тому +20

      @@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 4 роки тому

      @@CS50MadeEasy I need help

  • @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! :)

  • @cth95mustang
    @cth95mustang 4 роки тому +36

    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.

  • @boarder9snow
    @boarder9snow 3 роки тому +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!

  • @youtubeweb3009
    @youtubeweb3009 4 роки тому +26

    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 10 місяців тому

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

    • @youtubeweb3009
      @youtubeweb3009 9 місяців тому +2

      @@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!

  • @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

  • @edersondeassisfs
    @edersondeassisfs Місяць тому +1

    I struggled so hard that I started questioning if is this for me, then I found your channel, my struggle is normal, with your help I could manage to resolve that problem and also the less comfortable one, thanks!

  • @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!

  • @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.

  • @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 :)

  • @anthonyavila7680
    @anthonyavila7680 4 роки тому +6

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

  • @nexustech8669
    @nexustech8669 3 роки тому +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!!!!

  • @thomasbrittinghamjr.8508
    @thomasbrittinghamjr.8508 Рік тому +1

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

  • @chrisjarisch
    @chrisjarisch Рік тому +1

    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!

  • @musicsaves71590
    @musicsaves71590 3 роки тому +4

    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!

  • @felixlaw8377
    @felixlaw8377 4 роки тому +30

    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 !!

  • @pooopymist
    @pooopymist Рік тому +2

    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!

  • @foncha08
    @foncha08 2 роки тому +5

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

  • @Betwazzled
    @Betwazzled 4 роки тому +1

    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.

  • @LevyMegami
    @LevyMegami Рік тому +1

    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.

  • @gswarriors220
    @gswarriors220 3 роки тому +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

  • @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!

  • @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!

  • @karenstoodley1431
    @karenstoodley1431 Рік тому +1

    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!

  • @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!

  • @thenathanimal2909
    @thenathanimal2909 2 роки тому +2

    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 5 місяців тому

      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.

  • @semple888
    @semple888 2 роки тому +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.

  • @piotr5646
    @piotr5646 2 роки тому +15

    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 5 місяців тому

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

    • @zeekybeeky1850
      @zeekybeeky1850 4 місяці тому

      Mine is still not moving to the right

  • @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

  • @haruttsormutyan6362
    @haruttsormutyan6362 2 роки тому

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

  • @holysmokes4493
    @holysmokes4493 2 роки тому

    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.

  • @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

  • @glorytoglorzo5591
    @glorytoglorzo5591 2 роки тому +2

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

  • @KingKarrot
    @KingKarrot 7 місяців тому +2

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

  • @carolynnovak2089
    @carolynnovak2089 4 роки тому +8

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

  • @Ari-y8t7m
    @Ari-y8t7m 10 днів тому

    just started this course and I've never coded before so this was actually really really helpful, thank you so much

  • @nickparsons3194
    @nickparsons3194 Рік тому

    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

  • @a.d.c.3553
    @a.d.c.3553 3 роки тому +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!!

  • @kuhenelan
    @kuhenelan 4 роки тому +3

    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 4 роки тому +1

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

  • @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.

  • @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 :)

  • @lysstech
    @lysstech 2 роки тому

    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!

  • @CS50MadeEasy
    @CS50MadeEasy  4 роки тому +65

    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.

  • @eppingdb
    @eppingdb 2 роки тому +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!

  • @genesisasmr6874
    @genesisasmr6874 Рік тому

    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

  • @f00tm4st3r
    @f00tm4st3r Рік тому

    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 :)

  • @Oldbloodhunter
    @Oldbloodhunter 5 місяців тому

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

  • @Litehamer
    @Litehamer 2 роки тому

    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.

  • @alyssa7337
    @alyssa7337 4 роки тому +10

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

  • @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...

  • @Iskaera
    @Iskaera 9 місяців тому

    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 😂

  • @williamj7343
    @williamj7343 11 місяців тому

    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!

  • @sammartin590
    @sammartin590 Місяць тому

    Such a relief to hear about all the people stuck on this one. Me too! Even as a front end dev with HTML and CSS this just jumped sooo many levels too fast.
    One minute I'm printing my name out, the next they want me to write and pass functions with multiple loops interacting with no clear instructions. I'm really frustrated at CS50 for this. What a joke!
    I hope all the other weeks do not have such huge jumps between teaching and testing.
    My gut instict was to used nested loops for this problem and I started down that path when they said I should use a print function. I'm angry but vindicated this clean and simple solution was similar to what I was trying to do initially.
    I can't beleive how much time they spent explaining what a variable is or how to use their get function and yet they completely glossed over complex concepts like nesting loops or creating functions and passing parameters.
    It's like 'here's the alphabet - good now go write Shakespere'
    Shame I really wanted to do this 100% on my own but they just made it impossible.
    Why didn't they at least give us the space = height - row -1 clue :(

  • @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

  • @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.

  • @riffslayer1319
    @riffslayer1319 2 роки тому

    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.

  • @damonmlinaric9254
    @damonmlinaric9254 7 місяців тому

    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 :)

  • @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 :)

  • @hanieg2236
    @hanieg2236 7 місяців тому

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

  • @melodiediaz6401
    @melodiediaz6401 5 місяців тому

    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

  • @vibiririri
    @vibiririri Рік тому

    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!

  • @jrupp2823
    @jrupp2823 8 місяців тому

    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

  • @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!!

  • @keziahmallick6756
    @keziahmallick6756 Рік тому

    Bro i was straight up not gonna solve this without your help. Thanks man

  • @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!

  • @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

  • @josephgallegos7690
    @josephgallegos7690 2 роки тому +1

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

  • @mateuszbaszkowski1429
    @mateuszbaszkowski1429 3 роки тому

    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.

  • @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.

  • @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!

  • @thebass2798
    @thebass2798 Рік тому

    thanks for the help man.. you got me through the problems i was having and your voice puts me into a trance...its really strange but enjoyable

  • @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!

  • @amaliadayle5137
    @amaliadayle5137 4 роки тому +7

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

  • @beatrizhelena4528
    @beatrizhelena4528 Рік тому

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

  • @jetsetchlo8519
    @jetsetchlo8519 4 роки тому +2

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

  • @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

  • @strizzyallen959
    @strizzyallen959 10 місяців тому

    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.

  • @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! :)

  • @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.

  • @pranavramaswamy5319
    @pranavramaswamy5319 2 роки тому +1

    well done.
    scratch to this was hard for me - zero programing exp.

  • @mouniralabiad3468
    @mouniralabiad3468 Рік тому

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

  • @Impurism1
    @Impurism1 9 днів тому

    Thank you so much! After understanding how loops work inside and outside other loops I managed to solve it, also was able to solve "mario more" with ease. Thanks!

  • @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.

  • @Uzzi_72
    @Uzzi_72 4 роки тому +1

    You are a LEGEND, MY DUDE! THANK YOU!!!

  • @killerbaur
    @killerbaur 3 роки тому

    helped me a lot !!! not because you gave me solution but you gave me the way of thinking, how i have to look at coding, how it is work.Thx from Russia

  • @GeneralBanana1
    @GeneralBanana1 Рік тому

    Thank you so much. I had been struggling for so long and your video was very informational and helped me solve many problems I had.

  • @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 :)

  • @southmcwow
    @southmcwow 2 роки тому

    Wanted to comment again with thanks for explaining how the for loops are working. I've been really struggling with grasping them and it was making me not actually understand how the code is working. I've been taking notes as you explain the for loops and it just clicked. The breakdowns you do are so incredibly helpful. Thanks so much.