@@saraswatiyadav1881Hello Dear .I have Just read your comment posted 2 years ago. Please let me know, where are you right Now as you have Watched this tutorial 2 years ago and I'm taking it today 27 February 2024
@terrancekayton0074 жыл бұрын
OMG bro, I'm 'bout to cry 3 minutes in...I've been struggling with trying to understand the difference between parameters and arguments.. Shhphew!! Thanks, so much for knowledge sharing your skills!!
@alvarocajina874 жыл бұрын
Dude, that's exactly what I thought. I've been struggling for days!!!
@RaynerDaCruz3 жыл бұрын
For the benefit of everyone struggling with understanding the basic difference between parameters and arguments, parameters are the comma separated placeholders (CSPHs) that appear in the function declaration, the first line of a function. Arguments are comma separated values, and they appear in the function call. The relationship between parameters and arguments is that arguments and mapped to parameters. So depending on " which side of the line you're on", the term used varies.
@bryan0x053 жыл бұрын
@@RaynerDaCruz this is not quite right, the function call and function declaration both have parameters, we call them formal parameters in the function declaration and actual parameters in the function call. Honestly this is just pedantic and not vital to understanding the code.
@Innocent-g7l10 ай бұрын
@@alvarocajina87 Hello Dear .I have Just read your comment posted 2 years ago. Please let me know, where are you right Now as you have Watched this tutorial 2 years ago and I'm taking it today 27 February 2024
@Innocent-g7l10 ай бұрын
@@RaynerDaCruzHello Dear .I have Just read your comment posted 2 years ago. Please let me know, where are you right Now as you have Watched this tutorial 2 years ago and I'm taking it today 27 February 2024
@wheelsroundwheels3 жыл бұрын
def appreciation(name): return name word = “Thankyou very much “ print(word + appreciation(Mosh))
@noemirignanese6353 жыл бұрын
print(word + ' Mosh') and you get the same result quikly, you don't understand why we use function
@DeArtTerminator3 жыл бұрын
@@noemirignanese635 hahahahahaha
@thecrypticmelon3 жыл бұрын
where are the quotes in Mosh
@truepvp54633 жыл бұрын
@@thecrypticmelon its a string
@lambachurro87903 жыл бұрын
nice dude, i love reading comments
@IndiaDynamics6 жыл бұрын
I waisted my money by tacking various courses now I realise on youtube its free...
@IndiaDynamics6 жыл бұрын
I am intermediate to the programming, I want to learn python for data science and also I want to make career into the field of AI, Thanks for tutorials...
@faustobrusamolino63455 жыл бұрын
Tutorials on KZbin are "free" because generous people uploads the content, in which they invested time and passion.
@son_of_hiskingdom50923 жыл бұрын
@@faustobrusamolino6345 yea thank Jesus for that too I did it on the Python3IDE it went very well till the last one other than that it was very good I’m looking to go very far in Python
@preethamsshaiva22123 жыл бұрын
You have wasted on your English classes aswell
@ayferno73372 жыл бұрын
@@preethamsshaiva2212 fr
@familyguy_random Жыл бұрын
i was looking for a perfect lecture on function for many month,,finlay i got it,,and i will continue your lecture,,,and this is my 1st comment in my 10 years of using youtube ,,thank you
@SheldonYegon Жыл бұрын
When it comes to teaching newbies skills on web development, and other tech stuff, bro, you win!!! Thank you for this. Your voice makes it even sweeter!!
@deniskimutai95632 жыл бұрын
My name is Denis Kimutai. I am a beginner in software engineering. Have never watched a clear and understudble tutorial like yours. The progress I make everyday in my software engineering cannot even be explained more than saying thank you sir. African normally struggle with the whites English. But you speech is clear and understudble.. Thank you sir and God bless you.
@danielagyei99876 ай бұрын
Mosh, you're God sent. Can't thank you enough. btw you didn't get time to do the last part where it return the parameter so i did it. It's here\ def fizz_buzz(input): if (input % 3 != 0) and (input % 5 != 0): return input if (input % 3 == 0) and (input % 5 == 0): return "FizzBuzz" if input % 3 == 0: return "Fizz" if input % 5 == 0: return "Buzz" return "OK" the_magic = fizz_buzz(47) print(the_magic) i want to become a programmer like you.
@hqbib80833 жыл бұрын
im not even in high school yet, and i already know most of Python because of you! Keep up the good work :')
@justasydefix62513 жыл бұрын
@shiva swaroop P.S Learn C++ C# then make something big, that the difference between an engineer and a kid, and between electrician and electrical engineer
@codingwithkenny64923 жыл бұрын
That's awesome! Me too! :)))
@FTech1093 жыл бұрын
@shiva swaroop P.S learning the syntax is differs from solving complicated problems and developing algorithms
@skloit_dev30893 жыл бұрын
Could I use Arduino devices as a kid too
@bemccune76719 ай бұрын
the formatting extension for VS Code he mentioned was Autopep 8 for anyone who didn't catch it. I went to the transcript to understand what he said. I'm so excited to not have to have to google all my formatting questions! Also solid explanations, thanks Mosh!
@tiberiusG7 ай бұрын
Thank you for holding my hand through this, I've been learning Python for a couple weeks now and I'm struggling with some basic concepts related to functions and statements, among other things. Before this video I probably would have had less than half the knowledge needed to complete the exercise, now I have enough to make a working FizzBuzz algorithm on my own in 10 minutes, albeit not as professional as your code. def fizz_buzz(input): if input % 15 == 0: return "fizzbuzz" elif input % 3 == 0: return "fizz" elif input % 5 == 0: return "buzz" else: return input print(fizz_buzz()) the solution for both 3 and 5 that you came up with wasn't obvious to me, and I was unfortunately trying to make the code too terse. I did figure that the only numbers divisible by both 3 and 5 are always divisible by 15, so I chose 15 lol.
@AndrewClark834 жыл бұрын
Thanks for taking the time to create these videos, it's really helping me in my course. You've got a great teaching style and the content is great. Cheers.
@Innocent-g7l10 ай бұрын
Hello Dear .I have Just read your comment posted 2 years ago. Please let me know, where are you right Now as you have Watched this tutorial 2 years ago and I'm taking it today 27 February 2024
@vitustillebeck3 жыл бұрын
I did the excersize. i am currently 13 and had a hard time learning to program. that is probably because i am quite dumb. but with your videos its been so much easier. thank you. i am planning to buy the course today.
@JCASAS403 жыл бұрын
Sir you are not quite dumb. I know I don't know you but what I do know is you are totally smarter than most 13 year old's. You are learning to program at 13, I'm 46 and just learning to code myself. So never say such things about yourself. You sound like an awesome, smart 13 yr old. God Bless.
@vitustillebeck3 жыл бұрын
@@JCASAS40 Thank you. Good luck with your coding :)
@keenanwekesa1723 Жыл бұрын
Learnt an invaluable lesson from the "Exercise" part of the tutorial: Always test & retest your code!
@Trincanacos.2 жыл бұрын
I wasn't expecting this I have never seen a tutorial than explained me so well what I needed to know in my whole life, maybe it's also due to you tackling exactly the doubts I had but never have I seen a single youtube video with such information. The first 5 minutes alone helped me more than hours of python classes, an immediate subscription on my part, keep going man!
@amandal84044 жыл бұрын
I love how you called out using the global keyword in functions as bad practice. Your teaching/coding style is clean and minimalist, that's why we're all here!
@Innocent-g7l10 ай бұрын
Hello Dear .I have Just read your comment posted 3 years ago. Please let me know, where are you right Now as you have Watched this tutorial 3 years ago and I'm taking it today 27 February 2024
@danielnikolov648210 ай бұрын
Been on functions for a month. You filled my gaps in 20 mins. ❤❤❤
@JayRodriguez-20233 ай бұрын
Love you Mosh! You got me through Bootcamp and now I’m using you for Masters program in computer science!!
@taneemalam11354 жыл бұрын
I love you mosh ! Been trying to search for tutorials. And I got hold of your content a couple months ago. I also watched the full python course for beginner's video. Just wanted to say thank you! And we can all agree that you are a good teacher.
@Ushq_QgA2 жыл бұрын
🧐🧐😏🤨
@Innocent-g7l10 ай бұрын
Hello Dear .I have Just read your comment posted 2 years ago. Please let me know, where are you right Now as you have Watched this tutorial 2 years ago and I'm taking it today 27 February 2024
@ashishdev20243 жыл бұрын
OMG!!! Wow! I meaned all The! You're Really a Great Coder! and You're More Intelligent then Harry! Thank you so much Other Peoples Provides Just Full course but not means about it!
@mansoorahmed9455 Жыл бұрын
Your videos are so good that viewers even forget to like the video and jump to watch more of your content. Guys please like these brilliant lectures after watching it.
@wilsontradeveler12089 ай бұрын
thanks Mosh! I've being struggling with def and return function even after watching several youtube tutorial. No one could explain the details as clearly as you did.
This was fantastic! I love how you simplify concepts and then build up to more complicated applications. You picked up a subscriber.
@Ushq_QgA2 жыл бұрын
iuijp;
@Innocent-g7l10 ай бұрын
Hello Dear .I have Just read your comment posted 2 years ago. Please let me know, where are you right Now as you have Watched this tutorial 2 years ago and I'm taking it today 27 February 2024
@Joy_Boobo Жыл бұрын
#You take your time in teaching✅ # You are audible ❤ # and prepares very well for each class💯. THUMB UP 👍
@kitcat24492 жыл бұрын
I've started with C++ and used a few other languages, mostly static. Now that I'm learning python I'm having a hard time with those indentations :D they look and feel so unnatural Great tutorial as always, love that there is a variety!
@snatamohanty6612 Жыл бұрын
me too! it feels to simple. i'm not used to not having a thousand of errors because of an extra bracket...
@kitcat2449 Жыл бұрын
@@snatamohanty6612 haha yeah, like 'SOMETHING IS WRONG SINCE NOTHING IS WRONG' :D Indentation errors (or not necessarily even errors, but the wrong indentation) caused me little confusion though
@snatamohanty6612 Жыл бұрын
@@kitcat2449 no because same. now whenever I get an error I just give up and shut down my whole computer, I am not patient at all lmao
@kitcat2449 Жыл бұрын
@@snatamohanty6612 taking breaks is good for your brain at least lol. I have the exact opposite problem, I tend to obsessively focus so I forget to eat and take bathroom breaks 🗿
@markmilan57 Жыл бұрын
Short and Sweet. Keep on making some cool tutorials. I enjoyed a lot .
@CarlFritz242 жыл бұрын
INDEED, you are a GENIOUS, Mosh. Lots of knowledge, Perfection in teaching, amazing videos. Thanks. I think I'll learn a lot with you.
@Nate_Goth7 ай бұрын
Thank you so much Mosh! You're the best teacher out there. Wish you could also make a tutorial on classes and objects!🙏
@quantumtechmedia25411 ай бұрын
KZbin University will never disappoint....am a member....chau
@spaulpaul32423 жыл бұрын
Am in kenya,,,mosh thank you,,I love the way of your teaching,,I will stick on your teaching until I know programming
@argjendsejfullai83043 жыл бұрын
i wish you were my teacher sir, you earn my respect, sub, like and comment and i hope i pass my python exam. Mosh += love
@moliendo1026 жыл бұрын
It's your trademark to represent and explain the things in a clear concise and exact manner !! This makes learning material comprehensible easy to digest and remember. Without the burden of excessive words. Thank you very much i appreciate this !!!
@Innocent-g7l10 ай бұрын
Hello Dear .I have Just read your comment posted 5 years ago. Please let me know, where are you right Now as you have Watched this tutorial 5 years ago and I'm taking it today 27 February 2024
@theundeadforever33003 жыл бұрын
I'm kinda proud of myself for almost solving the fizz_buzz problem. I just couldn't finish my solution, I did the same thing that you did tho, and I'm a relatively new beginner coming from C++.
@-Gaabriel Жыл бұрын
great video!! my solution was: def fizz_buzz(input_: int): if (input_ % 3 == 0) and (input_ % 5 == 0): return "FizzBuzz" return "Fizz" if input_ % 3 == 0 else "Buzz" if input_ % 5 == 0 else input_
@iamwriting3935 Жыл бұрын
Superb... I love coding with Mosh...❤❤❤
@derickmusinguzi Жыл бұрын
Great Lesson, I was able to learn a lot about Functions
@jmr2 жыл бұрын
His multiply function reminded me of a recent security vulnerability. Anything * 0 = 0. While it was fine his function didn't check for a 0 being passed that isn't always the case. In a real world scenario someone figured out there was no check for a public key being a 0. As a result the hacker could pass a zero and bypass security because multiplication is used to verify keys.
@Innocent-g7l10 ай бұрын
Hello Dear .I have Just read your comment posted 1 year ago. Please let me know, where are you right Now as you have Watched this tutorial 1 year ago and I'm taking it today 27 February 2024
@jmr10 ай бұрын
@@Innocent-g7l I don't use Python daily and I was simply refreshing my knowledge on functions in Python. I'm sure you will do well as Python is one of the easier languages compared to something like C.
@attohval7 ай бұрын
I am currently studying Software Engineering and preparing for my Python Project presentation... It is a thing of joy to see brilliant people like you guys here
@jmr7 ай бұрын
@@attohval That's awesome! I'm sure you'll do great.
@attohval7 ай бұрын
@@jmr I am trying my best Sir... Thanks a lot. Starting my Java class next month and it continues
@dabigweav2 жыл бұрын
this helped me tremendously for my intro to python programming course I'm taking. I will return to your page again. Thanks.
@gambu4810 Жыл бұрын
My Jaw dropped when I saw that someone has an academic charnel with 3.6 MILLION SUBSCRIBERS! 😱
@randycny3 жыл бұрын
I paused to do the fizz_buzz project. I did the calc old-school though. if x/3 == int(x/3): I have to remember the % option. I added a while loop at the end for testing so it would loop until I pressed 0. lol. Good exercise! I was talking to the screen when the if for 3 and 5 was at the end saying it will never make it. lol then of course you fixed it. I didn't like that you used (input) though in the example as that was confusing as there is an input() function and this was not related that. I was thinking I missed something. Love the videos. Very easy to follow and useful info. Liked&Subscribed!
@nelsondelarosa5490 Жыл бұрын
Thanks so much for taking your time and creating this fantastic video.
@faustobrusamolino63455 жыл бұрын
Amazing tutorial, thank you so much for sharing.. This is one of the clearest tutorials on functions, I'm learning heaps
@DimopoulosInformaticsTutorials5 жыл бұрын
kzbin.info/www/bejne/qHungph5ibZ3iNU&t=
@Innocent-g7l10 ай бұрын
Hello Dear .I have Just read your comment posted 4 years ago. Please let me know, where are you right Now as you have Watched this tutorial 4 years ago and I'm taking it today 27 February 2024
@SEVEN-og1td11 ай бұрын
Thank you so much for this videos they are perfect and free. 🎉
@CharlesLogan-xr3rx Жыл бұрын
Thanks for the lesson! I didn't know you could use AND to check multiple conditions for IF. I was able to accomplish this with a nested IF instead. Then I tried zero as an argument... Feature or Bug? I guess we need to add IF INPUT == 0, RETURN INPUT to the top of our function, ehh? def fizz_buzz(input): if input == 0: return input if input % 3 == 0: if input % 5 == 0: return "FizzBuzz" return "Fizz" if input % 5 == 0: return "Buzz" return input
@teatime00920 күн бұрын
love the fizz buzz section!
@robc153 ай бұрын
Fantastic tutorials. Thanks Mosh.
@attohval7 ай бұрын
Thank you so much for this tutorial, it has really helped me to master my functions. Watching={"Day": "31", "Month": "May", "Year": "2024"}
@ahmadrandhawa238 Жыл бұрын
Sir really really good please make this types of detail videos on a little title plz sir love you thanks
@neilpastilan235511 ай бұрын
this is my solution, i'm a newbie though. def fizz_buzz(input): if input % 3 == 0 and input % 5 == 0: print("FizzBuzz") elif input % 5 == 0: print("Buzz") elif input % 3 == 0: print("Fizz") else: print(input) print(fizz_buzz(15))
@sn664102 жыл бұрын
30 mins just awesome learning. Thank you!
@Innocent-g7l10 ай бұрын
Hello Dear .I have Just read your comment posted 2 years ago. Please let me know, where are you right Now as you have Watched this tutorial 2 years ago and I'm taking it today 27 February 2024
@HshwNanan7 ай бұрын
@@Innocent-g7l hes dead
@Innocent-g7l7 ай бұрын
@@HshwNanan Okay 🥲
@jasonmase88602 жыл бұрын
I love how you teach Mosh.
@nidhinks17353 жыл бұрын
Coolest tutorial video ever seen for python functions
@Ro----WorX3 жыл бұрын
Crazy but True
@kapibara2440 Жыл бұрын
It was a very interesting tutorial, thank you ❤
@Marwan-oj3lc3 жыл бұрын
at 29:41 why is the output FizzBuzz it must be FizzBuzz Fizz Buzz because 15 is divisble by both and also divisble by 3 and also divisble by 5
@Sherlock24jp3 жыл бұрын
men you saved my life thank you so much for this tutorial!!! greetings from Mexico
@edenrenee73924 жыл бұрын
This helped me for my college class thank you!
@emmanueloseitutu7376 Жыл бұрын
By far, one of the best.
@kostiantynkarzhanov9216 Жыл бұрын
Thank you very much for the quick and good explanation! 💛
@ssigitas693 жыл бұрын
Thank you so much. You are one of my favorite teacher for Python.
@ee0716810 ай бұрын
Excellent teaching skills and knowledge great job !!
@rorolabelli28233 жыл бұрын
The best teacher ever😉💞
@juaninfante70004 жыл бұрын
Great content I was stock on this, now se everything clear thanks to you brother god bless you
@Innocent-g7l10 ай бұрын
Hello Dear .I have Just read your comment posted 2 years ago. Please let me know, where are you right Now as you have Watched this tutorial 2 years ago and I'm taking it today 27 February 2024
@TheMasudsaedi Жыл бұрын
Thanks Mosh! It was very easy to understand.
@pr47hmesh Жыл бұрын
Siiiuuu Thanks man
@edilbertogarcia5774 Жыл бұрын
to be honest there's nothing else to say than amazing. thanks.
@kayemmanims Жыл бұрын
Great explanation, Mosh. Thanks a lot
@turalkanal2113 Жыл бұрын
I solved it in different version but you saved few lines
@DenzelTheSecond Жыл бұрын
Very concise and useful, thank you
@franciscomorales8102Ай бұрын
Thanks! It was very understandable!
@elliotbennett1991 Жыл бұрын
I found this video very useful. Thank you!!!
@mekhalakarunaratne17073 жыл бұрын
Thank you, After a huge struggle, you helped me to clear my doubts of parameters and arguments.!!!! Thank you Sir !!!!!!!!!!!!! I will keep watching your channel... :)
@WiredWisdom9302 жыл бұрын
sir your words are so nice .Thank you so much 😍😍
@lefishe74319 ай бұрын
14:59 Why does it goes from horizontal to vertical with loops?
@aditaggarwal34863 жыл бұрын
My totally unique solution to the FizzBuzz problem relies on user input, but here it is: def fizzbuzz(input): if input % 15 == 0: print('Fizzbuzz') elif input % 3 == 0: print('Fizz') elif input % 5 == 0: print ('Buzz') else: print(input) fizzbuzz(int(input('Enter a number:')))
@seyedmortezakamali25974 жыл бұрын
آقای همدانی دمتون گرم! من خیلی آموزش های شما رو دوست دارم
@alisondefreitas86252 жыл бұрын
That's was really good Mosh Big thank you.
@CSCrew3 жыл бұрын
Thank you so much, Mosh! You are the best!
@mickaelrichard72554 жыл бұрын
if what you said is true about the exercice fizzbuzz being tricky, you just made the very tiny confidence I have in python raised a bit! thanks for that!
@aminekouchta9616 Жыл бұрын
really good explanation...keep it up
@TechReptile4 жыл бұрын
Hi Mosh, You are awesome to teach.
@s_sai_madhu37663 жыл бұрын
def fizz_buzz(input): if input%3 == 0 and input% 5 == 0: print("FIZZ_BUZZ") elif input%3 == 0: print("FIZZ") elif input% 5 == 0: print("BUZZ") elif input % input == 0: print(input) print(fizz_buzz(2)) It worked, but no need of last elif line.
@KA-NV5 жыл бұрын
Hi Mosh. Thank you for your fantastic videos. You certainly were born to teach. You make the material so easy to understand. I am glad I found your channel.
@_mil0__ Жыл бұрын
Your an excellent teacher. Thank you
@TheGoktas172 жыл бұрын
It is a wonderful introduction to functions in Python, thank you very much!
@sumeetpasrichavines4 жыл бұрын
Hello Mosh, I am beginner in python, checked lot of links for python but your channel finished my search. you are doing great job, Thanks for that.Can you share name of IDE you use, as it throws error exactly.
@HamzaAsiff4 жыл бұрын
This IDE is visual studio code 👆
@MohammadMonirHossain-uo2mm24 күн бұрын
Thank you Sir. Good tutorial.
@denggarangalaak690410 ай бұрын
superb thanks but would you also do a tutorial on arrays & pointers in python
@junaidmughal38062 жыл бұрын
best video on functions
@anurasenarathna1703 Жыл бұрын
Very well explained. Thank you
@sandraoriji83514 жыл бұрын
Thanks Mosh, this is just awesome
@jwd.t6 жыл бұрын
Your videos are so helpful and precise. Can you please do a series on Tensorflow and machine learning? I am highly looking for a quality series on this topic.
@jakesnell77074 жыл бұрын
this is so cool mosh! thank you!
@ag360154 жыл бұрын
You're very clear in the explaination, thanks a lot
@kadenhansen Жыл бұрын
What is your theme for VS Code? It’s so clean. The line turns red under the open tab instead of the text. It's very well made. Your icons are smooth as well.
@realmaureenoyakhilome2 жыл бұрын
This video is gold. Thanks
@marcosknez40242 жыл бұрын
GREAT video! Thank you so much!
@MrDuvinci10 ай бұрын
You are a good teacher
@snatamohanty6612 Жыл бұрын
i learned more in the first ten minutes of this video than i did while doing another online course. thank you