No video

Return Statement | Python | Tutorial 15

Source Code - www.giraffeacademy.com/program... This video is one in a series of videos where we'll be looking at programming in python. The course is designed for new programmers, and will introduce common programming topics using the python language.
Throughout the course we'll be looking at various topics including variables, lists, tuples, loops, conditionals, object orientation, and much more.

Пікірлер: 273

  • @nickjoseph2711
    @nickjoseph27114 жыл бұрын

    HOLY S, man - finally: the difference between 'print' and 'return' explained in plain English. Thanks so much, Mike!

  • @siliver1736

    @siliver1736

    4 жыл бұрын

    can you explain me please i still can't understand it

  • @thesoftcodegenius4829

    @thesoftcodegenius4829

    3 жыл бұрын

    yea!

  • @torpezaincreible8692

    @torpezaincreible8692

    3 жыл бұрын

    @Tesla Media but what If we do the def statement like this- def main(var) print(main(3)) What's the difference?

  • @orionNsirius

    @orionNsirius

    3 жыл бұрын

    Infact your comment makes me start to understand.

  • @cesararturocastanonacuna3325

    @cesararturocastanonacuna3325

    3 жыл бұрын

    🔴 Remember: If you didn't understand the video and topic. Go back to the previous lesson! 📘 This matter's keyword is: "The caller" (try to understand who the caller is.)

  • @aricwilliamsdeveloper
    @aricwilliamsdeveloper5 жыл бұрын

    the golden sentence "its going to rerun something to what ever called it" made me understand! liked & subscribed!!!

  • @RocknRollDina

    @RocknRollDina

    4 жыл бұрын

    yo for real that one sentence was my aha moment.

  • @yatharthseksaria3443

    @yatharthseksaria3443

    4 жыл бұрын

    I saw this comment before watching this video

  • @yashaswikulshreshtha1588

    @yashaswikulshreshtha1588

    3 жыл бұрын

    Spell it correctly it's return not rerun, you almost confused me for a second

  • @yashaswikulshreshtha1588

    @yashaswikulshreshtha1588

    3 жыл бұрын

    Well the real problem maybe we return for returning values but if you don't know then it actually behaves as a something that can control the main loop of the program, it can send the control back to the top of the program to run it again, this strange behavior is confusing me because I want to use it control my main loop. I want to use it send the control to specific points in program, I know it's probably also possible with goto keywords also or interrupts but I wanna use return cuz of that strange behavior. Can you help me with that.

  • @craigmitchell8034
    @craigmitchell80344 жыл бұрын

    Thank you Mike, I finally "got it" with your explanation. It took a lot of watching bad KZread explanations before I finally found yours. Cheers.

  • @raytotherose10101
    @raytotherose101013 жыл бұрын

    Taking courses now with google and I swear... This guy explains everything clearer than every other online course that i've taken, thanks! I wish i knew about this 3 years ago, haha

  • @Freddietheking

    @Freddietheking

    Жыл бұрын

    Okay but I still dont understand clearly

  • @stavro3650
    @stavro36504 жыл бұрын

    I was about to give up on return function before this video, you are a real life saver thanks!

  • @Ariel_530
    @Ariel_530 Жыл бұрын

    I was so confused about what a return statement did going through the google python crash course on coursera. This explained it very clearly and I can't thank you enough. I'm so happy I happened to click on this link first and saw that you have a website with free intro courses to both Python and SQL. You're a life saver because I didn't have money to keep throwing at all of these online courses. Thank you so much

  • @Sciland23

    @Sciland23

    10 ай бұрын

    HAHAHAH THATS WHY IM HERE

  • @kristencordes4390
    @kristencordes4390 Жыл бұрын

    REALLY.....I too finally understand the difference between 'print' and 'return'. I watch 15 videos on this topic and none of them clearly explained the difference. NOW I get it. Thank you so much. From now on - I'm STARTING with your videos.

  • @acedogg90
    @acedogg90 Жыл бұрын

    Keep up the good content. I have been running though studying Python on my own and tend to miss little things like what you covered in this video. Thank you!!

  • @siphiworatsibe5609
    @siphiworatsibe5609 Жыл бұрын

    You're a genius my man, I love how WELL you explain things.

  • @jordanpeterson769
    @jordanpeterson7694 жыл бұрын

    Thank you so much!! I was soo stuck on return statements for my college python class and you helped me understand it so much more clearly in actual English! I liked and subscribed!!

  • @hanoipro4831

    @hanoipro4831

    4 жыл бұрын

    change of career Mr Peterson? Got bored of showing some thigh to the alt-right?

  • @JB-gv7pt
    @JB-gv7pt4 жыл бұрын

    Thanks man. I was watching a tutorial and it really tripped me up but now I understand 100%.

  • @gabigabigabi123
    @gabigabigabi1234 жыл бұрын

    omg I was trying to understand the return function for such a long time and by many different ways, but your vídeo was the only way I could really understand what it is and how it works. Thank you so much!!

  • @MackRamirez1

    @MackRamirez1

    4 жыл бұрын

    Same

  • @jasminew9168
    @jasminew91683 жыл бұрын

    I usually spend hours trying to do just 1 problem on my homework and after watching this I was able to get one done within 5 minutes. THANK YOU SO MUCH!

  • @saxelbergman
    @saxelbergman6 жыл бұрын

    Hey! This really helped me understand the way return statment works! Thanks

  • @olivia0909
    @olivia0909 Жыл бұрын

    I really was having a confusion about return statement, but this video explained it better and now I can happily use return statement

  • @TheFirstTriplefife
    @TheFirstTriplefife5 жыл бұрын

    I'm glad I found this. I wasn't sure why the return function was needed. Now I get it.

  • @MarkedSeahawk
    @MarkedSeahawk3 ай бұрын

    Great explanation! Really helped meunderstand the return value! Thanks a lot!

  • @sophiaonyoutube
    @sophiaonyoutube3 жыл бұрын

    short yet comprehensive. your video is really helpful. thank you!

  • @ckye2003ck
    @ckye2003ck3 жыл бұрын

    Awesome explanation on return function! Fully understand what the return keyword for.

  • @seanbanez
    @seanbanez2 жыл бұрын

    This video perfectly explained to me something I wasnt grasping. Subd

  • @farhadtavakoli4747
    @farhadtavakoli47473 жыл бұрын

    Das war sehr hilfreich, danke Mike

  • @farooq5176
    @farooq51763 жыл бұрын

    This explaination has hit directly to my mind, awesome:)

  • @luismillones4657
    @luismillones4657 Жыл бұрын

    Bro, thanks to you i can FINALLY understand what this is about.

  • @masteraj1929
    @masteraj19295 жыл бұрын

    now I get how this works! so the return function immediately gets the value back from the function and then you can easily print it.

  • @pattersonleon5349
    @pattersonleon53493 жыл бұрын

    thanks so much man ive been wondering so long to grasp the return concept , now i got it . !

  • @trannguyen7010
    @trannguyen7010 Жыл бұрын

    Took me forever to figure it out until I watched this video. Thank you!!

  • @ajaykumarsugumaran3740
    @ajaykumarsugumaran37408 ай бұрын

    Crystal clear explanation of Return!

  • @raytotherose10101
    @raytotherose101013 жыл бұрын

    currently studying python with udacity, they ove-complicated something you described so simply, i actually understand it now. Thanks!

  • @Alia-fn4hi
    @Alia-fn4hi5 жыл бұрын

    It’s honestly insane just how much I’ve learned from your videos. In the past 3 days alone, I know more about Python than I ever have, and I’ve barely even scratched the surface. I’m excited to learn more and thank you for teaching me so far

  • @ramsesbrye7141
    @ramsesbrye71412 жыл бұрын

    Thank you man… the return statement finally makes sense

  • @l.p.9568
    @l.p.95682 жыл бұрын

    You know a person is a good teacher if they anticipate what you're thinking and preempt it with guidance on why that doesn't work. I was thinking, "well, I could just print that" and he showed why print doesn't work in this case. And, in 6 min, he got his point across vs. "go to" websites that teach Python where you have to scroll and scroll through their lesson. Ain't got the time for all that.

  • @shutupnerd9694
    @shutupnerd96945 жыл бұрын

    Thank you SO much! I was so confused on all the guides, and something with foo and bar or some shit like that, now I understand how this works!

  • @maptuffs

    @maptuffs

    5 жыл бұрын

    lmao same

  • @junwoojeong4886
    @junwoojeong4886 Жыл бұрын

    It was very clear, thank you!

  • @aspektn.5066
    @aspektn.50662 жыл бұрын

    Awesome content 🙌

  • @jufjafjaf
    @jufjafjaf Жыл бұрын

    I couldnt wrap my head around why return is important. This is the only video that explains why

  • @thezanecampbell
    @thezanecampbell2 жыл бұрын

    👏👏👏 beautifully and simply put. ty.

  • @absolute1173
    @absolute11733 жыл бұрын

    Thanks ! I try to use return but I didn't know that and now I use print when call my function and it's working !

  • @liliam.9638
    @liliam.9638 Жыл бұрын

    THANK YOU!!!😃 this was so helpful 😭😭

  • @bheki1374
    @bheki13743 жыл бұрын

    Your explanations are very clear and easy to understand.

  • @E5PY
    @E5PY Жыл бұрын

    5 years late but thank you for making, posting & keeping this video up. I am just beginning my python journey and the app I am learning from explained functions .... not in a user friendly method. I wish I would have come to you sooner rather than waiting so long to see if I can figure it out😅

  • @ashinaroman3696
    @ashinaroman36962 жыл бұрын

    This was super helpful! Thank you so much!

  • @jovanleung6877
    @jovanleung68772 жыл бұрын

    very solid explanation. thank you for taking the time

  • @AhmedU3M
    @AhmedU3M2 жыл бұрын

    You are hero man, thank you Mike

  • @muhammadusama6633
    @muhammadusama66333 жыл бұрын

    I really appreciate your effort

  • @mhar0319
    @mhar03193 жыл бұрын

    That was really helpful. A lot of programming videos I have been finding they explain everything like a math teacher. This explanation was a lot clearer.

  • @brandonspiegel2293
    @brandonspiegel22935 жыл бұрын

    I greatly appreciate the knowledge man!!!!

  • @AnilAnvesh
    @AnilAnvesh2 жыл бұрын

    You clearly explained return function. Thanks a lot dude

  • @byronkelly2
    @byronkelly23 жыл бұрын

    THANK YOU! Finally a great explanation!

  • @Gamolile
    @Gamolile5 жыл бұрын

    Thank you thank you thank you!!!! I was struggling with return functions for days trying to understand them, and this video made it click for me! I kiss the ground you walk on! Liked and subbed!

  • @balajirao8093
    @balajirao80934 жыл бұрын

    Thank you so much. I understood the return statement clearly from your video.

  • @muhammadusama6633
    @muhammadusama66333 жыл бұрын

    This channel is amazing.

  • @anirudhvenkatesan4730
    @anirudhvenkatesan47304 жыл бұрын

    I really enjoy your videos!

  • @reinaldoduguet6724
    @reinaldoduguet67244 жыл бұрын

    Damn! thanks.. seriously, what a clearly and useful information!!!

  • @Chinmoy348
    @Chinmoy3482 жыл бұрын

    Nice video sir. I was really confuse regarding return statement before watch this video

  • @dhyeyalpapujara5619
    @dhyeyalpapujara56192 жыл бұрын

    Thank u so much mike! now i get the difference between return and print! you helped me not get a 60 at school!

  • @gustavalexanderchong2842
    @gustavalexanderchong28422 жыл бұрын

    quickly and understandably explained, thank you

  • @julesmundur
    @julesmundur Жыл бұрын

    This made return very useful for me

  • @LikhithTechX
    @LikhithTechX3 жыл бұрын

    sir thank you sir from you only i have learned half of the python and even i can read the code very easy thank you so much sir

  • @antedieente9030
    @antedieente90303 жыл бұрын

    Very good explanation.

  • @jattavgs5312
    @jattavgs53122 жыл бұрын

    I finally understood this, thank you so much.

  • @marsifying
    @marsifying3 жыл бұрын

    this is pretty clear explanation

  • @gd686
    @gd6862 жыл бұрын

    Clear and easy. Thanks

  • @nibeditapattanaik3751
    @nibeditapattanaik37514 жыл бұрын

    Thanks a million! It really helped me a lot!

  • @thezodop8229
    @thezodop82293 жыл бұрын

    Hey Mike you are awesome ❤️❤️

  • @nishantsharma6435
    @nishantsharma64354 жыл бұрын

    Thank you so much mike to understand me easily!!!

  • @abdomohamed8665
    @abdomohamed86655 жыл бұрын

    Thank you That really helped me to understand def return fns

  • @arif542007
    @arif5420073 жыл бұрын

    very helpful.. keep sharing.tqvm..

  • @edivaldoluisbonfim3194
    @edivaldoluisbonfim31944 жыл бұрын

    thanks, bro I appreciate your channel so much

  • @chopparich3518
    @chopparich3518 Жыл бұрын

    Great video

  • @JF59122
    @JF591223 жыл бұрын

    Thanks bruh I didn't understand this for the longest time!

  • @xuantienpham5777
    @xuantienpham57775 жыл бұрын

    Thank you for your explanation!

  • @awesome7732
    @awesome77324 жыл бұрын

    great video dude. i really appreciate it

  • @sahalayamon
    @sahalayamon3 жыл бұрын

    Explained well!! 😻😻

  • @huuthinh297
    @huuthinh2972 жыл бұрын

    I watched 3 videos. But i understand your video. Thank

  • @luannguyen078
    @luannguyen0783 жыл бұрын

    Okay. This is true gold.

  • @harryneuhoff9115
    @harryneuhoff9115 Жыл бұрын

    Tyssssm for this channel!!!!

  • @TheEducationWorldUS
    @TheEducationWorldUS4 жыл бұрын

    Nice explanation

  • @elkady-prodesiner4172
    @elkady-prodesiner41724 жыл бұрын

    wow i finally can understand it.. what an explanation

  • @ajayvishwakarma6943
    @ajayvishwakarma69434 жыл бұрын

    Thanks I was very much confused with return.

  • @drinkingcat3065
    @drinkingcat30652 жыл бұрын

    first this guy is teaching me html and now im learning python

  • @eyeofhamsa
    @eyeofhamsa Жыл бұрын

    Thank you so much !

  • @thesoftcodegenius4829
    @thesoftcodegenius48293 жыл бұрын

    Thank You so Much, You are the great Explainer Mike Dane, Love You from INDIA ^_^

  • @sharifi3425
    @sharifi34254 жыл бұрын

    thanx man . I learned a lot from your video!!!!!!!!!!!

  • @beinaidoPichaido
    @beinaidoPichaido3 жыл бұрын

    Jesus christ! Finally got it, wish I would've seen this video earlier! Thank you

  • @arvydasgasparavicius7231
    @arvydasgasparavicius72312 жыл бұрын

    Thanks Mike!

  • @ricks505
    @ricks5052 жыл бұрын

    hi Mike Nice Training

  • @jideafolabi2360
    @jideafolabi2360 Жыл бұрын

    Fantastic thank you

  • @rakanalqawsi2499
    @rakanalqawsi24992 жыл бұрын

    Lol i was looking at your 4h course and want to get to know return function more and i entered this video

  • @legends_..748
    @legends_..7483 ай бұрын

    Thanks bro helped a lot

  • @binarycloud1843
    @binarycloud18437 ай бұрын

    Good stuff

  • @litchfirmian7562
    @litchfirmian75623 жыл бұрын

    Very helpful, thank you.

  • @atharvachaudhari6462
    @atharvachaudhari64623 жыл бұрын

    This vdo is definitely very informative but we want more deep plz make another vdo on how to use return statement part 2 (advance)

  • @yoursugarflower7359
    @yoursugarflower73594 жыл бұрын

    Thank you so much

  • @caiphusrakgwale6713
    @caiphusrakgwale67134 жыл бұрын

    man you are the best

  • @elitegamingandmore3723
    @elitegamingandmore37234 жыл бұрын

    First person I listened to when he said “don’t forget to like and subscribe” print(“Done”)

  • @cesararturocastanonacuna3325

    @cesararturocastanonacuna3325

    3 жыл бұрын

    🔴 Remember: If you didn't understand the video and topic. Go back to the previous lesson! 📘 This matter's keyword is: "The caller" (try to understand who the caller is.)

  • @valencefootball9740

    @valencefootball9740

    3 жыл бұрын

    @@cesararturocastanonacuna3325 Lol

  • @jaywala2036
    @jaywala20363 жыл бұрын

    Good teaching 😍😘

  • @durrium
    @durrium4 жыл бұрын

    Very good tutorials

  • @SilvermanMan
    @SilvermanMan4 жыл бұрын

    ⭐️ ⭐️ ⭐️ ⭐️ ⭐️ Unique explanation

  • @alexneigh7089
    @alexneigh70894 жыл бұрын

    Ty, great explanation.

  • @saudia646
    @saudia6462 жыл бұрын

    you saved my life