Functions in Python | Python Tutorial - Day #20

Поделиться
HTML-код
  • Опубликовано: 2 янв 2025

Комментарии • 1,2 тыс.

  • @CodeWithHarry
    @CodeWithHarry  2 года назад +273

    One quick correction at 3:12 : The formula for Geometric mean is not correct!
    If you haven't yet accessed the playlist, do it now: ruclips.net/p/PLu0W_9lII9agwh1XjRt242xIpHhPT2llg

    • @Abhishekgurjar_
      @Abhishekgurjar_ 2 года назад +5

      No problem Harry bhai

    • @darkcoder1389
      @darkcoder1389 2 года назад +13

      Bhi plzz " C " ya " javascript " pe 100days lao

    • @subhassssadhu
      @subhassssadhu 2 года назад +7

      @@darkcoder1389 there are already around 100 videos recently completed by Harry bhai in Javascript

    • @ApniGardening7
      @ApniGardening7 2 года назад +1

      no problem

    • @gpsmarket5823
      @gpsmarket5823 2 года назад

      web 3 do something......

  • @CodeWithHarry
    @CodeWithHarry  Год назад +41

    Code Backup Repository: github.com/CodeWithHarry/100-days-of-code-youtube

  • @amoghaggarwal
    @amoghaggarwal 2 года назад +165

    Old is Gold, Binod was such an old refrence but brought a smile to my face.

  • @mohakgrover1420
    @mohakgrover1420 Год назад +38

    00:00 Functions are used to separate logic from main program
    01:36 Functions are blocks of code that can be called whenever needed
    03:50 Converting code into function
    06:02 A function can be written to find the greater number from two given numbers.
    08:02 Functions are like code words used to define a block of code
    10:14 Functions help in breaking down logic in bigger programs.
    12:02 Functions in Python
    14:04 Basics of Creating and Calling Functions

  • @udayneolia6853
    @udayneolia6853 Год назад +33

    Everything is cleared and the "binod" is on another level

  • @debasishbesra2901
    @debasishbesra2901 Год назад +61

    Day 5 of #100DaysOfCode. Today in this video 20, I learned that Python functions are organized blocks of code for specific tasks. There are built-in and user-defined functions. Built-in functions come pre-coded, while user-defined ones are custom-made. Functions are defined using the 'def' keyword and called with their name and parameters. This helps keep code neat and organized.
    Thank You Harry Bhaiya.

    • @Archanaghimire_18
      @Archanaghimire_18 6 месяцев назад

      why is my function not running?

    • @hanzuu17
      @hanzuu17 6 месяцев назад

      @@Archanaghimire_18 try in this format,
      def function_name [ try the function name like this for eg. isGreater , first letter make it small and the next word start with capital ] (parameters):
      Then write the logic for the function and then whatever is yur function name 'call' it...

  • @noobToPro2004
    @noobToPro2004 Год назад +138

    Damn I cannot believe I am maintaining consistency I do watch only one video per day cause I am not from cs and it's my 20th day I'm very happy that you are my first teacher to teach me coding.
    Thank you Harry bhaiya for making coding simple to understand :)

  • @mariamhasan3733
    @mariamhasan3733 2 года назад +56

    Day #20 done! Harry bhai using the Binod meme was a smart move to let us understand the use of function easily 😆

    • @RK.7789
      @RK.7789 2 года назад +1

      Ashtagfirulla !!!!
      H to to ye kafir hi

    • @mariamhasan3733
      @mariamhasan3733 2 года назад

      @@RK.7789 ?

    • @nasrullah3412
      @nasrullah3412 2 года назад +2

      @@RK.7789 Harry bhai is Muslim. His actual name is Haris Ali Khan❣

    • @ak_014
      @ak_014 Год назад

      ​@@k0p2. check his email in the first video of this course.Haris Khan is his name

    • @teamWWF23
      @teamWWF23 Год назад

      Brother which course of harry should i learn from Android
      1:- the ultimate python course
      2:- python tutorial for absolute biggners

  • @TECH_HELPER_irfan
    @TECH_HELPER_irfan Год назад +35

    hello friends i made this calculator
    how it is
    def plus(a,b):
    value1 = a + b
    print(value1)
    def minus(a,b):
    value2 = a - b
    print(value2)

    def multi(a,b):
    value3 = a * b
    print(value3)

    def divid(a,b):
    value4 = a / b
    print(value4)

    st1 = "welcome to the irfan's calclulator"
    print(st1.center(100))
    print("enter any two numbers of which you want to know the answer")
    a = int(input("enter the first number :"))
    b = int(input("enter the second number :"))
    d = int(input('''enter the numbers to choose the symbole :
    "1" is for addition
    "2" is for subtraction
    "3" is for multiplication
    "4" is for divide
    please select one number :'''))
    match d:
    case 1:
    plus(a,b)
    case 2:
    minus(a,b)
    case 3:
    multi(a,b)
    case 4:
    divid(a,b)

    • @transylvanian1765
      @transylvanian1765 10 месяцев назад +2

      I made this:
      print("A code for operations on two numbers")
      input("Press Enter:")
      x = input("Choose your first number:")
      y = input("Choose your second number:")
      print("Choose any operation given below:")
      A = "1.Addition"
      print(A)
      B = "2.Substraction"
      print(B)
      C = "3.Division"
      print(C)
      D = "4.Multiplication"
      print(D)
      E = "5.Exponential"
      print(E)
      F = "6.Remainder"
      print(F)
      op = input("Choose any number from 1 to 6 as given above:")
      if "1" in op:
      print("Sum of", (x), "and", (y), "is:", int(x) + int(y))
      if "2" in op:
      print("Difference between", (x), "from", (y), "is:", int(y) - int(x))
      if "3" in op:
      print("Division of", (x), "and", (y), "is:", int(x) / int(y))
      if "4" in op:
      print("Multiplication of", (x), "and", (y), "is:", int(x) * int(y))
      if "5" in op:
      print((x), "to the power", (y), "is:", int(x)**int(y))
      if "6" in op:
      print("Remainder of", (x), "when divided by", (y), "is:", int(x) % int(y))

    • @KumarRajputBhagya
      @KumarRajputBhagya 5 месяцев назад +5

      For your work i will give you 100 but its silence you can do it directly without using function 😅

    • @Krispaneo
      @Krispaneo 5 месяцев назад

      good irfan......🥰🥰

    • @RonitPaul-o5x
      @RonitPaul-o5x 4 месяца назад

      Perfectly done GOOD JOB

    • @Graphophile_
      @Graphophile_ 3 месяца назад

      Awesome 👍

  • @education.online_frevryone
    @education.online_frevryone Год назад +11

    From: Malaysia and Pakistan.
    Love the way you teach using analogies, it's pretty easy to understand the concepts!

  • @simrahanjum5601
    @simrahanjum5601 4 месяца назад +1

    def IsGreater (a, b):
    if (a>b):
    print ("First number is greater")
    else:
    print ("Second number is greater or equal")
    def AlgebricFormula (a, b):
    Form= a**2 - 2*a*b + b**2
    print (Form)
    a=8
    b=9
    IsGreater (a, b)
    AlgebricFormula (a, b)
    Finally I was done with this after mistakes. Thank you for simplifying things.

  • @Navraj078
    @Navraj078 Год назад +19

    congratulations harry bro on 4 million subs
    you are the only guy whom which i learnt coding very well.

  • @PhotoshopEditing-t9s
    @PhotoshopEditing-t9s 5 месяцев назад

    Harry sir! I have written the following code based on the knowledge you have provided.
    Thank you so much. I'm getting better and better in coding due to your efforts.
    Code:
    def calculatesum(a,b):
    sum=a+b
    print("The sum of two number is :", sum)
    def calculateGMean(a,b):
    gmean=(a*b)/(a+b)
    print("Geometric mean of two numbers is : ", gmean)
    num1=int(input("Enter the first number :"))
    num2=int(input("Enter the second number :"))
    calculatesum(num1,num2)
    calculateGMean(num1,num2)

  • @i.have.no.idea.6.9
    @i.have.no.idea.6.9 Год назад +28

    what i made as an example:
    a = 34
    b = 21
    def increment(a, b):
    c = a + b
    print(c)
    increment(a, b)
    if a>b:
    print("A's value is greater than B")
    else:
    print("B's value is greater than A")

  • @allcartooninonechhannel
    @allcartooninonechhannel Месяц назад

    Simple and sweet Calculator.....
    def add(x,y):
    return(x+y)
    def subtract(x,y):
    return(x-y)
    def multiply(x,y):
    return(x*y)
    def devide(x,y):
    return(x/y)
    print("choose operator")
    print('1: add')
    print('2: subtract')
    print('3: multiply')
    print('4: devide')
    choice = input("choose numbers as you like:")
    a = int(input("write your 1st number:"))
    b = int(input("write your 2nd number:"))
    if choice =='1':
    print(a, '+', b,'=', (a+b))
    elif choice =='2':
    print(a, '-', b,'=', (a-b))
    elif choice =='3':
    print(a, '*', b,'=', (a*b))
    elif choice =='4':
    print(a, '/', b,'=', (a/b))
    else:
    print("invalid command")

  • @shubhampatil-py3vj
    @shubhampatil-py3vj Год назад +8

    its day 20 and i am consistently watching daily only 1 video , its the first time where i am maintaining my consistency
    well i will keep it on.
    Thanks a lot to you @CodeWithHarry sir to make the coding this easy and simple.

  • @FactualGuru1
    @FactualGuru1 Год назад +9

    please like the videos, he is a gem who is providing these courses for free
    may Allah bless you harry bhai

  • @PhotoshopEditing-t9s
    @PhotoshopEditing-t9s 5 месяцев назад +1

    def calculategreaternumber(a,b,c):
    if(a>b):
    if(a>c):
    print("First number is greatest")
    elif(b>c):
    if(b>a):
    print("Second number is greatest")
    else:
    print("Third number is greatest")
    num1=int(input("Enter your first number :"))
    num2=int(input("Enter your second number :"))
    num3=int(input("Enter your third number :"))
    calculategreaternumber(num1,num2,num3)

  • @smartstudywithaj6259
    @smartstudywithaj6259 Год назад +3

    sir sab concepts crystal clear hai.
    Learning python for my class 8th computer exams...........
    but thoda advanced concepts bhi samajh raha hoon.
    mujhe HTML bhi aata hai....
    aapke videos kaafi interesting hote hai aur kaafi maja aata hai, Thnx sir for your efforts
    ------------- your beloved student and future Programmer

    • @aryyann05
      @aryyann05 Год назад

      very good brother, keep it up

    • @atharvaandhale2465
      @atharvaandhale2465 Год назад +1

      bhai computer exams 8th mein kab se aa gaya re??

    • @aryyann05
      @aryyann05 Год назад

      @@atharvaandhale2465 haa bhai aa gae ab humari baari mein hee nhi they ab aa gae

  • @ignitegaming3998
    @ignitegaming3998 23 дня назад +1

    Thank you bro i will complete the 100 days and learn logic of Pyton and become very good at Pyton one day in my life

  • @manhaabdellah2682
    @manhaabdellah2682 Год назад +11

    Very simple video. Love your studio setup!

  • @prathamthakulla4412
    @prathamthakulla4412 2 года назад +9

    Good Evening Harry Sir, #100DaysPython tutorials complete hone ke baad aap please Machine Learning or Data Science ka full detailed tutorials banao, kyu ki aaj kal ML aur DS fields, top trending pe chal rahe hai all over the world, aur aane wale saalo main bhi chalne wale hai, sir please its a request if you have time, make ML or DS tutorials, just like python ones. Thank You.😀👌❤

  • @AtifMalik-g3b
    @AtifMalik-g3b День назад

    #Basics of python user define function
    name = input("Enter your name:-")
    def greet(name):#definition
    print("Hello",name)
    greet(name)#calling
    a = int(input("Enter the num1:-"))
    b = int(input("Enter the num2:-"))
    def islesser(a,b):
    if(a

  • @rode_atharva
    @rode_atharva 2 года назад +23

    We are going deep in python ! 👍👍❤❤

    • @zaryabz7809
      @zaryabz7809 5 месяцев назад

      💀

    • @rode_atharva
      @rode_atharva 5 месяцев назад

      @@zaryabz7809 are bhai mera wo matlab nahi tha , sacchi 😂😅😅😅. Mr hansu ya rou

    • @thetigers7777
      @thetigers7777 4 месяца назад +1

      Playboy!

    • @rode_atharva
      @rode_atharva 4 месяца назад

      @@thetigers7777 umm hmm noty ho raha hai😼

  • @rangegowdabg5679
    @rangegowdabg5679 Год назад +1

    Your teaching is great and I am from non-IT background you made code so simple to understand Thank u

  • @kirtisingh9659
    @kirtisingh9659 2 года назад +12

    After completing this python series
    Please start JavaScript 100day tutorial ❤️

    • @aslameditz3895
      @aslameditz3895 2 года назад +5

      Already it's there bro

    • @ahu22r
      @ahu22r 2 года назад +1

      Check playlist of this channel, you will get javascript playlist.

    • @shristisrivastava1324
      @shristisrivastava1324 2 года назад

      @@aslameditz3895 can you please share me link .
      I am not able to find that course.

    • @Faheem_M_2010
      @Faheem_M_2010 Год назад

      @@shristisrivastava1324 ruclips.net/p/PLu0W_9lII9ahR1blWXxgSlL4y9iQBnLpR

  • @sushil.golaji
    @sushil.golaji Год назад +2

    Such bhai you are the best teacher in youtube ❣️ really Op bhai🎉

  • @abdul_moiz_7
    @abdul_moiz_7 2 года назад +5

    This is my first programming language to learn from scratch. So far it is going great. Thanks Harry bhai

    • @bepositive271
      @bepositive271 Год назад

      What do you mean by scratch

    • @abdul_moiz_7
      @abdul_moiz_7 Год назад +1

      @@bepositive271 means from the beginning.

    • @teamWWF23
      @teamWWF23 Год назад

      Brother which course of harry should i learn from Android
      1:- the ultimate python course
      2:- python tutorial for absolute biggners

    • @bepositive271
      @bepositive271 Год назад +1

      @@teamWWF23 Obviously the ultimate python course cause it hold the newest information about python and interviews

    • @teamWWF23
      @teamWWF23 Год назад

      @@bepositive271 thank brother ❣️
      Can you also give me some tips how i make notes while learning from Android

  • @riya.thakur.iit.007
    @riya.thakur.iit.007 Год назад +2

    BInod best example, you are the one of them ,Who helping to all students, that is so good.

  • @joymukherjee5871
    @joymukherjee5871 2 года назад +7

    Ah please upload DSA with python also🙏🙏🏻

    • @bayerwps3305
      @bayerwps3305 2 года назад

      Yes bhai sir, i hope you've already planned ❤️

  • @jantibhaibabubhainariya3900
    @jantibhaibabubhainariya3900 2 года назад

    मैंने आपकी Python सीरीज shikhna sharu किया .. आपका shikhane ka style बहुत बढ़िया है

  • @sitavyas-pl3xk
    @sitavyas-pl3xk 2 месяца назад +3

    I am in 7th std but I like coding so much so I am currently learning python from this series😅😅

    • @farhancubingexpert
      @farhancubingexpert Месяц назад

      Cool dude i am also interested in this field a lot but I am in 10th my parents want me to be a doctor :(

    • @farhancubingexpert
      @farhancubingexpert Месяц назад

      Still bro all the best make good games and stuffs

    • @farhancubingexpert
      @farhancubingexpert Месяц назад

      Ur only in 7th rn if u keep working u will be a master at 9th I prefer to take CS or AI or python after 10th and drop python for 10th only

  • @DineVlogs
    @DineVlogs 2 года назад +2

    Present Harry bhaiya 🙂
    90% Samajh me agya baaki dobara video dekh kar samajh jaunga

  • @Emoteplayz
    @Emoteplayz 10 месяцев назад +2

    Smaj Gya ❤

  • @ahmedalrafi500
    @ahmedalrafi500 Год назад +2

    inshallah we will all succed in our goals

  • @deepakkumarmahanta7818
    @deepakkumarmahanta7818 2 года назад +3

    Thank you so much Harry Bhai for the amazing videos...

  • @ravityagi7797
    @ravityagi7797 7 месяцев назад +1

    Thank you so much Harry Sir ,
    because of you I am able to learn Python, and this course is amazing I am enjoying this course.

  • @shivang.73
    @shivang.73 Год назад +5

    1:30 "is concept ko samjha ke hi manunga"
    Is line se ek alag hi feeling ai❤❤
    #PositiveVibesInPython

  • @sc-vines
    @sc-vines 6 месяцев назад

    a = int(input("enter your first number: "))
    b = int(input("enter your second number: "))
    def plusAB(a, b):
    total = a + b
    print(total)
    def greaterNumber(a, b):
    if(a>5):
    print(a, "is greater")
    if(b

  • @PsychologyPass28
    @PsychologyPass28 11 месяцев назад +3

    00:01 Functions help to separate and reuse code logic.
    01:31 Using functions in Python to avoid repetitive code
    03:54 Implementing the geometric mean as a one-line function.
    06:50 Writing a function to compare two numbers and find the minimum value
    08:40 Functions help in creating code that can be reused and called with a single word or line.
    10:27 Using 'pass' in a function in Python allows to write the function body later
    12:21 Creating user-defined functions in Python
    14:27 Naming conventions and function indentation in Python
    Crafted by Merlin AI.

  • @sushantsalunkhe4482
    @sushantsalunkhe4482 2 года назад +5

    Hello Harry Can you make same playlist for MySQL

  • @LakshyaMusicals
    @LakshyaMusicals Год назад +2

    TRY THIS GUYS , IT INCLUDES MAXIMUM TOPICS OF PREVIOUS LECTURES
    SMALL STARTING FROM A BEGINNER ALL THX TO HARRY BHAI 😁
    def isgreater(a,b) :
    print(a,chr(176),"C")
    print(b,chr(176),"F")
    con1="first Value is greater than second "
    con2="both values are equal"
    con3="second number is greater than first "
    if(a>b):
    print(con1.title())
    elif (a==b) :
    print(con2.title())
    else :
    print((con3.title()).replace("Number","Value"))
    a=float(input("Enter Temperature in degree Celsius: "))
    b=(9*a/5)+32
    isgreater(a,b)

  • @AMAN-7883
    @AMAN-7883 2 года назад +15

    Harry bhai koi full stack web ka project le ao.

  • @krishnabohidar7226
    @krishnabohidar7226 7 месяцев назад

    I doubt if anyone is having doubt after watching your vids..
    helping me alot with learning Python, Thank you so much sir

  • @learnit6749
    @learnit6749 8 месяцев назад +2

    good😍

  • @lakhyadeepsen
    @lakhyadeepsen 2 года назад +3

    Day 20 of 100 of python challenge completed. #100daysofcode #100dayspythonchallenge

  • @AbdulkhaliqKz
    @AbdulkhaliqKz 4 месяца назад

    def isgreater(a,b):
    if(a>b):
    print("number is greater")
    else:
    print("number is less or egual")
    a=int(input())
    b=int(input())
    isgreater(a,b)
    🎉🎉🎉🎉🎉

  • @fgsahil
    @fgsahil 2 года назад +214

    Kis kis ke pass pc/ laptop nhi hai fir bhi python sikh rhe hai !!

    • @akgaming3984
      @akgaming3984 2 года назад +3

      Mere pas

    • @Md__Ikbal_
      @Md__Ikbal_ 10 месяцев назад +2

      Mian

    • @Stdwidme
      @Stdwidme 8 месяцев назад +5

      Phone me bhi hoti h bhai

    • @Md__Ikbal_
      @Md__Ikbal_ 8 месяцев назад +2

      @@Stdwidme konsa app bro

    • @Stdwidme
      @Stdwidme 8 месяцев назад

      @@Md__Ikbal_ pydroid3

  • @ammarchopda
    @ammarchopda Год назад +2

    samjh aara hai sab kuch... harry bhai thank you so much

  • @jatinbhatt2222
    @jatinbhatt2222 2 года назад +5

    Sir can you please tell the website from where we should start practicing questions or any other source.
    and also Present on Day-20 ✋

  • @Anmol-AK
    @Anmol-AK 7 месяцев назад +1

    binod brings back memories lol. Brought smile on my face
    Awesome series

  • @amitranjeetjha1240
    @amitranjeetjha1240 2 года назад +3

    This course is awesome 🔥🔥

  • @AtoZsports10
    @AtoZsports10 2 месяца назад

    I love ❤this
    Function video. Because everything. So thank you
    Love from Wazeristan. From Afghanistan🇦🇫🎉

  • @tajinder715
    @tajinder715 2 года назад +259

    kis kis ko ye concept 99% samjh a gya hai??????✌✌✌✌✌

    • @ATTIQ_OFFICIAL
      @ATTIQ_OFFICIAL 2 года назад +16

      100%

    • @shubhamsaini4871
      @shubhamsaini4871 2 года назад +29

      Tujhe hi 99% aaya hai...
      Sabko to 100% aaya hai 😅

    • @koushik1947
      @koushik1947 2 года назад +14

      mujhe 99% samajh aya tha
      fir "binod" ke example ke baad 110% samajh aa gya XD

    • @ATTIQ_OFFICIAL
      @ATTIQ_OFFICIAL 2 года назад +3

      @@koushik1947 ok binod

    • @ajeetverma3936
      @ajeetverma3936 2 года назад +3

      100% bro😅😂🤣

  • @sirahmad
    @sirahmad 2 года назад

    inshallah aik din harry bhai kay 10 million subcriber ho gay buhat hi acha parhtay ho you are such a bless for humanity :)

  • @KnownAsUdit
    @KnownAsUdit 2 года назад +6

    This may become the re rise of the BINOD meme among coders 😂

  • @harshiddhipathak3949
    @harshiddhipathak3949 6 месяцев назад

    First time I understand function 😁😁thank you.👍👍all cleared

  • @believeitsreal
    @believeitsreal 2 года назад +1

    def calculate_mean(a, b):
    mean = (a*b)/(a+b)
    print(mean)
    if a > b:
    print("First number is greater")
    else:
    print("second number is greater")
    a = int(input("Enter the first number: "))
    b = int(input("Enter the second number: "))
    calculate_mean(a, b)

  • @aarijkhan329
    @aarijkhan329 5 месяцев назад +1

    Brilliant!!!

  • @biswajeet9826
    @biswajeet9826 5 месяцев назад

    Bade Bhai bahut sahi tha video
    Its so hard to believe this is for Free!!😁❤

  • @CatchyclawsXD
    @CatchyclawsXD 6 месяцев назад

    harry bhai! I love the way you teach. I am a 13 yr old and i am learning python bcz i found ur playlist

  • @CyrusMathayus
    @CyrusMathayus 10 месяцев назад

    It’s been 1 week since I started and trust me you nailed it .I aspire to be a programmer like you.Currently on #20 th video.

  • @mayankpravin4080
    @mayankpravin4080 4 месяца назад

    a=int(input("Enter the First Number:"))
    b=int(input("Enter the second Number:"))
    def isgreaf(a,b):
    if a>b:
    print("first number is greater")
    else:
    print("second number is greater")
    isgreaf(a,b)

  • @SalinChaudhary-y9y
    @SalinChaudhary-y9y 10 месяцев назад +1

    It's been the 20th day of coding, and I love it.

  • @dyspro8954
    @dyspro8954 Год назад +2

    love the way you taught us!!! It's very helpful for us
    You are biggest inspiration of all time. I love to study with you....
    Lots of Love..........🙃🙃

  • @adityapradhan8474
    @adityapradhan8474 Год назад +2

    Thank you so much harry bhaiya.
    My friends say that those who learn from video lectures aren't good programmer. But I learn from your video courses and I also refer to books...

    • @bhaanusisodia7790
      @bhaanusisodia7790 Год назад

      your friend is just bitter that they had to pay fees and you didint

  • @Thalapathy-Vs-Hyena
    @Thalapathy-Vs-Hyena 6 месяцев назад

    Sir I took the challenge to complete this playlist in 25 days that means 4 videos a day with practice, trust me sir I am loving it. I am now on 4th day. On track, thanks for such quality education ❤❤❤

  • @khushisoni21
    @khushisoni21 Год назад

    finally aaj jake smjh aya harry bhhiya !!!

  • @rupanshu8761
    @rupanshu8761 2 года назад

    def cube(a):
    print(f"the cube of the number str{a}",a**3)
    a=int(input("Enter the value: "))
    cube(a)

  • @2minutemotivation82
    @2minutemotivation82 Год назад

    def har(a):
    if(a%2==0):
    print(a,"is even")
    else:
    print(a,"is odd")
    def greater(a,b):
    if(a>b):
    print("First number is bigger ")
    else:
    print("Second number is bigger or equal")
    def calculate(c,d):
    sum=c+d
    greater(c,d)
    har(sum)
    sub=d-c
    har(sub)
    multi=c*d
    har(multi)
    div=d/c
    har(div)
    a=int(input("Enter your first number : "))
    b=int(input("Enter you second number : "))
    calculate(a,b)

  • @susanjames325
    @susanjames325 Год назад

    Sumjh a gya herry bhai.
    Bhagwan humesha apko khush rkhe❤

  • @hirenparkar7480
    @hirenparkar7480 2 месяца назад

    thankyou bhai functions samaj mein aagaye aur code likhake mazaa bhi aaagaya!!!!!😁

  • @vaibhavsoni4680
    @vaibhavsoni4680 Год назад

    def GreaterAmongThree(a,b,c):
    if a>b and a>c:
    print("a is greater")
    elif b>a and b>c:
    print("b is greater")
    else:
    print("c is greater")
    GreaterAmongThree(6,4,2)
    GreaterAmongThree(4,6,2)
    GreaterAmongThree(2,4,6)

  • @ananyaj_1235
    @ananyaj_1235 26 дней назад

    best content on youtube, lifesaving

  • @santoshkumargupta6339
    @santoshkumargupta6339 10 месяцев назад

    Sir aa gaya samajh me function() , Thanks , God bless you 😍😍

  • @MinuHaha
    @MinuHaha Месяц назад

    Timestamps
    00:01 - Functions help to separate and reuse code logic.
    01:31 - Using functions in Python to avoid repetitive code
    03:54 - Implementing the geometric mean as a one-line function.
    06:50 - Writing a function to compare two numbers and find the minimum value
    08:40 - Functions help in creating code that can be reused and called with a single word or line.
    10:27 - Using 'pass' in a function in Python allows to write the function body later
    12:21 - Creating user-defined functions in Python
    14:27 - Naming conventions and function indentation in Python

  • @kingsam20
    @kingsam20 Год назад +2

    I understood each and every thing. Thank you harry bhai for making this series.

  • @syedfarhannaqvi3070
    @syedfarhannaqvi3070 9 месяцев назад

    yes sir samjh agayi . you are an excellent teacher may God Allah bless you

  • @pavilliong328
    @pavilliong328 5 месяцев назад

    Hi I am from Pakistan I am doing python course of fee 25 thousand. But after coming from class I watch your videos to clarify my concepts. Love u bhai

  • @pareshrathore4174
    @pareshrathore4174 Год назад +1

    09:04 - Bhai rhne do yrrr, bina example ke jyada acche se smjh aa gya. 😂😂😂

  • @gamingwithjam0074
    @gamingwithjam0074 4 месяца назад

    m dusre jagah se python pdh rh tha but waha pe itta basic n easy level pe jaa k cheejo ko clear ni kr rhe the....mujhe yeha ye acha lga.

  • @ISR946
    @ISR946 Год назад +1

    yes , we are going deeper . enjoying the python, creating cool projects and having fun 😊😊😊😊😊😊

  • @micfuse9846
    @micfuse9846 Год назад

    Yaar samajh aagaya ! Maza aara hai!

  • @AlphaXeed
    @AlphaXeed 3 месяца назад +1

    Bro GM= (ab)^2 hota h. You have used HM formula. No problem 😊

  • @codewithsameer-r
    @codewithsameer-r 5 месяцев назад

    harry , your course is very easy

  • @souvikroy3584
    @souvikroy3584 5 месяцев назад +1

    Yes, i understood this concept

  • @shyammishra2814
    @shyammishra2814 6 месяцев назад

    bhai agye badhiya se thanks bro you are working hard for us

  • @Anonymous-12398
    @Anonymous-12398 6 месяцев назад

    love you harry bhai thanks for your efforts nice understanding

  • @DD_Bhagyesh
    @DD_Bhagyesh 2 года назад +1

    Amazing Harry Bhai ❤️, wo line mast thi ki - "are bhai ye kya krke chhod diya" 😂

  • @shoaibmaqsood6605
    @shoaibmaqsood6605 2 года назад

    harry bhai sb khuch samj aa raha hy. thanksssssssss for your efforts.

  • @riya.thakur.iit.007
    @riya.thakur.iit.007 Год назад +1

    smajh aa gya 😊 thanks for Harry ❤

  • @rushikeshjadhav4103
    @rushikeshjadhav4103 Год назад

    samajh mei aya....mza aya ....Thankyou harry bro !!!

  • @XCommonXGoat
    @XCommonXGoat Год назад

    Today I Learned About Geometric Mean and About Functions.. Keyword=def
    Ex:- tuple,title,index,etc
    I Love Your Vids.

  • @AbrarMahtab-d9l
    @AbrarMahtab-d9l 4 месяца назад

    at first it seemed to be tough, i didnt understand. later when i myself tried and made it interesting, it became crystal clear!! Alhamdulillah

  • @t-rex8923
    @t-rex8923 Год назад

    Mazza AArAHAHHHH HAI HARRY PAJIIIIII,YOU RE A GENIUS!!!!!!!!!!

  • @md.abdullahalmamun960
    @md.abdullahalmamun960 2 года назад +1

    Assalamu alaikum
    bi
    all is ok
    thanks for you
    i come from bangladesh
    and watch your video regularly

  • @prathamj218
    @prathamj218 2 года назад

    harry bhaiya
    issme aache samjh aaya ek baar me
    good explanation with real life examples

  • @talhasultan.2796
    @talhasultan.2796 Год назад

    this first video from up to date tutorial i had understood.😎

  • @topgunpilot2547
    @topgunpilot2547 Год назад

    Harry bhai, majaa aa gaya! Thank you!

  • @AliHassan-nd3le
    @AliHassan-nd3le 25 дней назад

    Very Infromative Video Thank you