Solve 10 problems on functions in python
Ойын-сауық
Visit chaicode.com for all related materials, community help, source code etc.
Welcome to chai aur code, a coding/programming dedicated channel in Hindi language. Now you can learn best of programming concepts with industry standard practical guide in Hindi language.
All source code is available at my Github account:
github.com/hiteshchoudhary
Our Open-Source Project is here: freeapi.app
Join me at whatsapp: hitesh.ai/whatsapp
for community discord: hitesh.ai/discord
Instagram pe yaha paaye jaate h:
/ hiteshchoudharyofficial
HTML video series: • HTML and VSCode - gett...
Complete javascript series: • Javascript for beginne...
Complete Reactjs series: • React JS roadmap | cha...
Javascript and react interview series: • 1 call se shuru hui pl...
Backend development with Javascript: • Javascript Backend Roa...
Python Series: • Python series launch |...
Пікірлер: 386
I know some basics of python but whenever I watch your videos , I consistently gain new insights and knowledge.
@TooniMe
4 ай бұрын
But your code shows errors lol
Sir, apke help se hum sab to hopeful hain... Thanks Alot!
51:00 So, basically what I've understood, "yield" is kind of like the "static" keyword which is used in c/c++. when we say, "static int a = 5;" inside of a function & we call that function multiple times or call that function using a loop, that static variable "a" saves it's previous state in memory & performs the next tasks with it's previous state every single time function is called. not saying they are the same. But yeah, i found it familiar.
20:12 1) first method Below formatted variable will be displayed with 5 decimal values formatted = "{:.5f}".format(9.999875698989) print(formatted) # output : 9.99988 And suppose we write like this formatted = "{:.3f}".format(9.999875698989) print(formatted) # output : 10 Then it will return 10 as output. 2) using round() In this function we will pass two parameters, first is our value or variable and second is how many decimal values we want. Example_1: Number = 5.375829473 print(round(Number,2) # output : 5.36 Example_2 : print(round(5.53627894,2)) # output : 5.53
@aditya536
13 күн бұрын
Great! The format method was new to me.
51:07 I have worked on some personal projects in deep learning and one use case of yield is handling huge amount of datasets where we need to fetch a batch of numbers from the datasets to perform calculation of gradients during backpropogation which is a way to optimized neural networks loss calculations
I have been working as a software developer since 2019. I have started coding since 2014. I have watched a lot of tutorials and read many books. But today I understood "Generator" properly. Thank you sir, you are really great. ❤❤
Kudos to you, sir, for explaining yield in such a simplified manner, as if you were explaining it to a 5-years-old.
Super Guru ji.....Very insightful.....You are a great teacher Hitesh sir ji....keep up the great work......Respect from Bangalore...
thank you sir. I came to know about yeild for the first time. One application of args is in shoping cart.
19:52 import math def circle_stats(radius): area = math.pi* 2 * radius**2 circumference = 2 * math.pi * radius return area, circumference a, c = circle_stats(3) print(f"Area = {round(a,2)} Circumference = {round(c,2)}")
amazing video :) TimeStamp:- 20:24 Precision upto x decimal places can be achieved by using round(variable_name,x)
51:24 -- sir maine pehle ek baar school ke time yield padhne ki koshis ki thi but samjh nahi aya tha! but is bar kaafi cheesein clear hui hain.
❤ the way of teaching Direct jump on hands on approach
Now I'm feeling that I'm diving into the internal working of python. The way he explains every topics that is phenomenal. I'm regularly waiting for his python series videos. Thanks sir for making this wonderful series.
Every topic is explained very neatly and clearly.
Amazing content sir..❤..if you plan to make another lecture, plz dive in little more in Recursion and Yield concept .
thank you so much for teaching us in depth, lots of love from Jharkhand
Thank you so much sir , we really love this series also. ❤❤
this is my favorite youtube channel , nice teaching sir ji
You are the best teacher,❤ in this platform,,
the best channel to learn Python. need flask tutorial too Sir.
Sab mil kar appreciate kro yr sir ki dedication ko quality content ke liye..😊
I love your teaching hitesh sir !!! I connect with you in coding
We do use round method for getting precise values. e.g., round(number, 2) for getting precision upto 2 digits.
Solution of 20:26 : print(“area:”,round(a,2),”circumference”,round(b,2))
@shaikusman536
2 ай бұрын
Thanks buddy..........
Thank you so much sir for ❤ I love your way to teach and enjoying ever vedio of Chay and code .thank you❤
Thank you Sir, You really made thing so easy to understand.
Awsome Guru ji.......Pls make more videos on python DSA focused on Data Science and Machine Learning........Respect from Bangalore...
Love this way of solving problem learning ❤
sir aapko killvish ko bhi add karna chahiye tha main villan ki tor pe wese is tarike se python ke function ko sikh kar ke maza hi aa gaya love from mumbai sir ji ❤❤
Sir whatever you will to teach I'll learn all of it
19:45 Precision can be achieved using round() function as given below: def circle_stats(radius): area=math.pi*radius**2 circumference=2*math.pi*radius return *round(area,2),round(circumference,2)* print(circle_stats(5)) (78.54, 31.42) *Further, can we round off multiple values at once instead of doing separately for each one?*
really loved this way of learning...
Very nicely explaining sir...
Thank you so much for deep explanation it is very helpful sir
Thank you sir for building this things easily
bahut achha lagta h sir ap se sikhane me
Such in depth explanation is astonishing in free courses! 🙌
I have never ever seen this kind of teaching 🙏,Thank you sir for you your efforts for us.
reached functions!🥳 was left behind a few videos for a while, but covering it up!!!!🤧
Now "yield" is very clear to me ❤
Best Video Ever on Functions
Exited for the series that will based on python, Please start with Django if possible, It will be next level in your style and explanation in depth ♥
@afzalhamdulay
5 ай бұрын
yup. django from his side will be amazing
really a good teaching technique sir
very helpful video for a new learner!
The way he explained Yield keyword is beautiful !! LoveFromINDORE
thank you for adding project at the end 🙌🙌
amazing way of teaching functions
for Area and Circumference exercise, we can use Round of method to get result printed by 2 or 3 digits.
Thankyou so much sir for scenario teaching ❤
To avoid those recurring decimal in solution_04, we can use round() method to avoid those recurring decimals and can convert it to 1 , 2 or any decimal place you like. Source Code: import math def circle_stats(radius): area = round(math.pi * radius ** 2,2) circumference = round(2 * math.pi * radius,2) return area, circumference a , c = circle_stats(3) print("Area: ", a, "Circumference: ", c)
@SamiButt-bc2xh
Ай бұрын
import math def circle(radius): area = round(math.pi*(radius**2),2) circumference = round((2 * math.pi * radius) ,2); return area , circumference; r = int(input("Enter Radius: ")) a , c = circle(r) print("The Area is: ",a) print("The Circumference is: ",c)
@SamiButt-bc2xh
Ай бұрын
in your code you are not defined how many precision after point like 2,3or 4
very nice recursive problem solving approch
We can use the f-strings functionality. For example, if we want precision up-to 2 digits, then we can type: - print(f"Area : {a:.2f} Circumference: {c:.2f}")
Thanks sir! Great work
Great content...nice explanation
Explanation of Recursive function with pen & diagram sir 😊
Could you please consider launching a new series on core advanced Java? Topics like concurrency, JVM internals, and performance optimization would be really helpful. Looking forward to more great content from you!
Nice bro, extremely good yield is best
Very insightful contents Sir
This series YIELDS in depth knowledge.😁😁
This course is helpful ❤
Nice video for learners 👏👍
Amazing explanation sir ❤
Thank you Sir for your efforts
Thank you sir cover the function topics
You are providing Amazing content
To handle precision for float value round(number, d)
Sir aap ase hi solve 10 problems vale video JavaScript k liye bhi bna do
Thank you soooooo much sir!!
Kyu aap ke itne sahi or behtreen course❤ ko like nahi kar raha.
great video quality ♥
Wonderful content❤
Best Video for python
Thank you so much sir
thank you for the content sir
Best python tutorial ever
Amazing bhaiya ❤
nice explanation!!!
best creater of youtube
Thank you so much sir ❤❤
Please yr sab mil kr appreciate kro channel ko chai aur code 😊❤ Yaha behind the scenes sikhne ko milta hai
Sir,For the question no.3 When two inputs are taken from the user like one is int and other is string types without direct passing as an argument then what will be happend ??
Yr 900 views h fir bhi 400 comment kyu nhi hai😢 support kro yr sab chai aur code ko
Thank you sir💖💖😊😊
Kudos to you, sir,
Awesome series
"This series is a hidden treasure for programmers."
Really amazing videos
Loving These Pytho_Series❤
Class was awesome
sir ji, tu si great ho 😊
Best python playlist
Well Done Sir ji
Great content.
Sir please make videos on data structures and algorithms for python
Very nice lecture
28:21 cube = lambda x : x**3 a = cube(4) print(a) print(cube(3)) it seems we can lambda like as def
20:10 we can use round() method :)
Thank you so much sir 😁
thanku sir ji