Functions in Python | Python Tutorial in Hindi 10

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.พ. 2025
  • Functions in Python - 10
    ⭐Python Tutorial Playlist: • Python for Beginners F...
    ⭐Download Notes & Source Code: drive.google.c...
    📢GitHub link: github.com/ris...
    ➖➖➖➖➖➖➖➖➖➖➖➖➖
    ❤️Do Like, Share and Comment ❤️
    ⭐SUBSCRIBE Now!: bit.ly/3Fc7Gc6
    ➖➖➖➖➖➖➖➖➖➖➖➖➖
    📣Want to connect with me? Check out these links:📣
    👉Instagram: / rishabhnmishra
    👉LinkedIn: / rishabhnmishra
    👉GitHub: github.com/ris...
    👉Twitter: / rishabhnmishra
    ➖➖➖➖➖➖➖➖➖➖➖➖➖
    ⭐Content⭐
    ✅ 00:00 Functions
    ✅ 05:28 Function Types
    ✅ 06:51 Function Syntax
    ✅ 11:32 Function Examples
    ➖➖➖➖➖➖➖➖➖➖➖➖➖
    ⭐Topics covered in this video:
    Functions in Python
    Types of functions
    function syntax
    function examples
    return statement
    pass statement
    Python for beginners
    ➖➖➖➖➖➖➖➖➖➖➖➖➖
    Related videos:
    ⭐Introduction to Python Programming | Python Tutorial in Hindi 1:
    • What is Python Program...
    📢Python Project for Data Analysis:
    • Python Project for Dat...
    📢Full SQL Tutorial in One Video:
    • SQL Tutorial for Begin...
    📢Full Excel Tutorial in one Video:
    • Excel Tutorial For Beg...
    📢Full Power Bi + Tutorial in one Video:
    • Power Bi tutorial for ...
    🔖Complete Data Analyst Roadmap:
    • How to Become Data Ana...
    ➖➖➖➖➖➖➖➖➖➖➖➖➖
    Hope you liked this video and learned something new :)
    See you in next video, until then Bye-Bye! :)
    Keep learning n Keep Growing 🚀
    #functionsinpython #pythontutorial #pythoninhindi

ความคิดเห็น • 91

  • @rahulsingh-mm3tm
    @rahulsingh-mm3tm 4 หลายเดือนก่อน +12

    Hi Rishabh, I am 45 years old ,non IT precession mid management working in MNC, i tried to learn Python in past 5 years but had to left, I lost interest as i was not be able to understand these concepts . First time i am enjoying learning Python as able to understand all the concepts you explain so well. I decided to complete this series , lets see............. your way of explanations are best as compared to many paid courses i opted. Keep teaching , you don't even having idea how you are transformation people professional journey.

    • @todayflower6367
      @todayflower6367 หลายเดือนก่อน

      Same with me. I tried to learn other channels so many time but failed. This is first time under stand and enjoying learning. Thanks Madhav !

  • @anitasolanki-wp7pl
    @anitasolanki-wp7pl 5 หลายเดือนก่อน +7

    Way of explanation is very easy this series is best for beginners 👍

  • @Reactionface0
    @Reactionface0 3 หลายเดือนก่อน +2

    I love the way are you teaching, the concept was totally clear U make me understand in very easy way Tq @rishaabh bhaiya

  • @003isha
    @003isha 3 หลายเดือนก่อน +2

    Thank you so much Sr, apke jaise koi explain nhi kr sakta ...saari tension hi khatam or itna easy or one to one example se samjhya with all points tits and tats .jo koi nhi samjhata .. Thank you so much please libraries ka bhi videos banaye

  • @akashshelke1475
    @akashshelke1475 5 หลายเดือนก่อน +7

    thanks rishabh bhai for this video pls keep it up as i am studying from your channel to get ajob pls help by uploading all the details for becoimg a product analyst

  • @Khanbhaii995
    @Khanbhaii995 21 วันที่ผ่านมา +1

    Well done ❤

  • @addigitalcoach6044
    @addigitalcoach6044 หลายเดือนก่อน +1

    The way you explain is absolutely good ❤❤❤
    Thanks for this master class 🎉

  • @pawankumar-ld6jq
    @pawankumar-ld6jq 2 หลายเดือนก่อน +1

    Sir, I came across your SQL and Python series, I loved a lot your teaching skill.
    🙏🙏

  • @sifatnowshin8291
    @sifatnowshin8291 4 หลายเดือนก่อน +1

    Thanks, brother. I've been waiting a long time for your Python lesson.

  • @Ranjit-K9
    @Ranjit-K9 5 หลายเดือนก่อน +4

    Brother make one project on time series analysis and hypothesis testing i have watch many videos but i didn't get any clear concept you teaching style is fabulous i know only you can clear my doubt on this topic if you can do this it'll very help full for me to crack the interview

    • @RishabhMishraOfficial
      @RishabhMishraOfficial  5 หลายเดือนก่อน +1

      Yess noted ✅️

    • @Ranjit-K9
      @Ranjit-K9 5 หลายเดือนก่อน

      @@RishabhMishraOfficial Thanks brother

  • @Shivanshbhandari_001
    @Shivanshbhandari_001 4 หลายเดือนก่อน +1

    nice lec keep continue sir god bless u

  • @bumblebees-lu9qt
    @bumblebees-lu9qt 3 หลายเดือนก่อน +1

    i will just say one thing you"re very underrated

  • @SURAJ-512
    @SURAJ-512 5 หลายเดือนก่อน +2

    Mast bto i will also lern python ❤❤❤❤

    • @RishabhMishraOfficial
      @RishabhMishraOfficial  5 หลายเดือนก่อน +1

      Glad you liked ✅️

    • @SURAJ-512
      @SURAJ-512 5 หลายเดือนก่อน

      @@RishabhMishraOfficial ok Keep coding

  • @aish000
    @aish000 5 หลายเดือนก่อน

    Happy teachers day! Thank you for all the courses and projects. You are amazing! 👏

  • @CheerfulMountainLandscap-gk8pn
    @CheerfulMountainLandscap-gk8pn 5 หลายเดือนก่อน

    Thank you so much sir for updating vedio on regulR basis.
    Very nice way of teaching

  • @abhivlogs1570
    @abhivlogs1570 5 หลายเดือนก่อน

    Keep this series continue 😊

  • @RitikKatiyar-y5m
    @RitikKatiyar-y5m 9 วันที่ผ่านมา +1

    def ad2num (a,b):
    return a+b,a-b , a*b,a%b,a*b
    num2 = ad2num(int(input()),int(input()))
    print(num2)

  • @uttamroy7947
    @uttamroy7947 2 วันที่ผ่านมา +1

    def add(a,b):
    return a+b
    def subtract(a,b):
    return a-b
    def multiply(a,b):
    return a * b
    def divide(a , b):
    if b == 0:
    return "Error: Division by zero"
    return a / b
    def avg(a ,b):
    return (a+b) /2
    print("Simple Calculator")
    print("Choose an operation:")
    print("1.Add")
    print("2.Subtract")
    print("3.Multiply")
    print("4.Divide")
    print("5.Average")
    print(" ")
    choice = int(input("Please enter your choice: "))
    a = int(input("Enter first number: "))
    b = int(input("Enter second number: "))
    if choice == 1:
    print("Result: ",add(a,b))
    elif choice == 2:
    print("Result: ",subtract(a,b))
    elif choice == 3:
    print("Result: ",multiply(a,b))
    elif choice == 4:
    print("Result: ",divide(a,b))
    elif choice == 5:
    print("Result: ",avg(a,b))
    else:
    print("Invalid choice")
    🤔🤔🤔 please provide your opinion

  • @MuseebAlam-l3h
    @MuseebAlam-l3h 3 หลายเดือนก่อน

    Sir tuples tak itni python deta analysis ke liye sufficient he jitni apne krayi ya or bhi karni hogi

  • @_._SAM_._._
    @_._SAM_._._ 4 หลายเดือนก่อน +1

    #Defining functions first
    def add(a,b):
    result = a + b
    return (print(result,type(result)))
    def minus(a,b):
    result = a-b
    return (print(result, type(result)))
    def multi(a,b):
    result = a*b
    return (print(result, type(result)))
    def divi(a,b):
    result = a/b
    return (print(result, type(result)))
    def avg(a,b):
    result = (a+b)/2
    return (print(result, type(result)))
    #Using function to write calculator code:
    a = int(input('enter your first no. here: '))
    b = int(input('enter your second no. here: '))
    opp = int(input('choose which opperation:
    (1=add, 2=subtract, 3=multiply,
    4=divide, 5=average.)'))
    if opp==1:
    print(add(a,b))
    elif opp==2:
    print(minus(a,b))
    elif opp==3:
    print(multi(a,b))
    elif opp==4:
    print(divi(a,b))
    else:
    print(avg(a,b))
    # this calci only does operation on 2 digits.

  • @janghujaat8036
    @janghujaat8036 หลายเดือนก่อน

    a = float(input(" What is your first no.? "))
    b = float(input(" What is your second no.? "))
    c = input("what type of opperator you wanna to perform 1=add,,,2=subt,,,3=multiply,,,4=division,,,5=avg")
    if c == '1':
    sum = a+b
    print(f"addition is {sum}")
    elif c =='2':
    diff = a-b
    print(f"subtraction is {diff}")
    elif c == '3':
    mult = a*b
    print(f"multiplication is {mult}")
    elif c == '5':
    avg = (a+b)/2
    print(f"avg is {avg}")
    elif c == '4':
    if b == 0:
    print("division is INFINITE")
    else:
    print(f"the division is {a/b}")
    else:
    print("ERROR")

  • @aadarshparikh9990
    @aadarshparikh9990 5 หลายเดือนก่อน

    Suggest some books to learn data analysis from basics to advance

  • @Dwn.P-c
    @Dwn.P-c 5 หลายเดือนก่อน

    Always good to see you sir , sir can you made a videos on beginners course list only who are just enter in The Computer field or you can say IT sector and Data science by the way i want from you that please made a videos on R prog. , STATA , Data Analysis using SPSS as these were part of M.A economics if you would made or just tell me the roadmap it will be very helpful sir

  • @amansinghrajput1013
    @amansinghrajput1013 2 หลายเดือนก่อน +1

    def calc(a):
    if(a==1):
    num1=int(input("enter your 1 number"))
    num2=int(input("enter your 2 number"))
    s=num1+num2
    print("Answer = ",s)
    elif(a==2):
    num1=int(input("enter your 1 number"))
    num2=int(input("enter your 2 number"))
    s=num1-num2
    print("Answer= ",s)
    elif(a==3):
    num1=int(input("enter your 1 number"))
    num2=int(input("enter your 2 number"))
    s=num1*num2
    print("Answer= ",s)
    else:
    num1=int(input("enter your 1 number"))
    num2=int(input("enter your 2 number"))
    s=num1/num2
    print("Answer= ",s)

    print("press 1 for addition")
    print("press 2 for subtraction")
    print("press 3 for multiplication")
    print("press 4 for division")
    n=int(input("enter your choice = "))
    calc(n)

  • @aaishaanzar
    @aaishaanzar หลายเดือนก่อน

    Hi, do you have any suggestions for the practice, like from where to do that.
    As I am learning I want to do more practice for confidence. Could you please help me with that

    • @RishabhMishraOfficial
      @RishabhMishraOfficial  หลายเดือนก่อน

      You can use kaggle website to practice more projects

  • @TheStoryWeaverrr
    @TheStoryWeaverrr 5 หลายเดือนก่อน

    Rishabh bhai, kitne chapters aur bache hai.. kaafi intersting hai ye..
    Aur ye specially kinke liye hai.
    For all or only for data analyst/DS/DE etc

  • @everythingshort3269
    @everythingshort3269 4 หลายเดือนก่อน +1

    This series will consist total how many videos?

  • @VeilOfKnowledge12
    @VeilOfKnowledge12 2 หลายเดือนก่อน +1

    def cel_fh(c):
    f=(c*9/5)+32
    return f
    temp_f=cel_fh(25)
    print("The temprature in fh is :",temp_f)

  • @aadilmajeed7506
    @aadilmajeed7506 5 หลายเดือนก่อน +1

    sir can you make videos daily
    we have to wait for your videos and thanks ❤❤❤

    • @RishabhMishraOfficial
      @RishabhMishraOfficial  5 หลายเดือนก่อน

      Glad you liked ✅️ I'm trying to upload videos asap

    • @aadilmajeed7506
      @aadilmajeed7506 5 หลายเดือนก่อน

      @@RishabhMishraOfficial thank you for replying sir
      you can understand sir i have to wait for the lectures to come

  • @shreyaskelapure7639
    @shreyaskelapure7639 2 หลายเดือนก่อน

    sir have u make video on oops with python??

  • @Reactionface0
    @Reactionface0 3 หลายเดือนก่อน +1

    pass statement is my fav🤣🤣

  • @PravinKumar-io5lu
    @PravinKumar-io5lu 4 หลายเดือนก่อน

    Recursion is important for data analysts ?

  • @xtravengersgaming
    @xtravengersgaming 5 หลายเดือนก่อน

    kya yeh correct hai?
    def calculator(a,b):
    addition = a+b
    sub = a-b
    div= a/b
    muliply= a*b
    avg = (a+b)/2
    return addition,sub,div,muliply,avg

    • @RishabhMishraOfficial
      @RishabhMishraOfficial  5 หลายเดือนก่อน +1

      Aree bhai bhai bhai.. yeh kya hai. Aise nahi proper step by step likho, take user input n print the results in output

    • @xtravengersgaming
      @xtravengersgaming 5 หลายเดือนก่อน

      @@RishabhMishraOfficial hahahahha ha sir!! yeh wrong hai...thank you for reply. mene enw video par just abhi new program comment kiya hai.
      thoda f string and all use kar k.
      thanks

  • @CrazyBlazeIndia
    @CrazyBlazeIndia 5 หลายเดือนก่อน

    Please upload One topic daily

  • @_._SAM_._._
    @_._SAM_._._ 4 หลายเดือนก่อน

    def ad2(a, b):
    result = a + b
    return (print(result, type(result)))
    input:- ad2(55,66)
    output:- 121
    how about just using print inside return
    i did this and when i hit run it printed the sum and the data type(int)
    would there be a problem with this type of code?

    • @RishabhMishraOfficial
      @RishabhMishraOfficial  4 หลายเดือนก่อน +1

      It should work, but the problem is the data type of output is none, so you can't use it in future calculations. Already covered this point in video

  • @japjeetsinghanand
    @japjeetsinghanand 5 หลายเดือนก่อน +1

    Sir loops ka chapter kb introduce karoge aap?

  • @pritpatel8
    @pritpatel8 5 หลายเดือนก่อน

    Bro make video on library that requires for data analyst like . I know that you know better than me so please make video on library that most requir for data analyst

  • @ManishSharma-fj3wn
    @ManishSharma-fj3wn 5 หลายเดือนก่อน +1

    14:32
    Bhaiya yaha par kaisa pata chalega ki variable kis data type ka hai parameter mai
    Ans is 37:50
    a = int(input("Enter the first number"))
    b = int(input("Enter the second number"))
    print(f"Addition of a+b is {a+b}")
    print(f"Subtraction of a-b is {a-b}")
    print(f"Division of a/b is {a/b}")
    print(f"Multiplication of a*b is {a*b}")
    print(f"Average of (a+b)/2 is {(a+b)/2}")

    • @RishabhMishraOfficial
      @RishabhMishraOfficial  5 หลายเดือนก่อน +1

      That we can understand by prompt- enter a number. That means parameter is a numeric type. And if someone enters any other type value it will be considered as invalid input

    • @ManishSharma-fj3wn
      @ManishSharma-fj3wn 5 หลายเดือนก่อน

      @@RishabhMishraOfficial Thank you so much bhaiya

  • @chitranshchaturvedi2333
    @chitranshchaturvedi2333 5 หลายเดือนก่อน

    Bhaiya placements chal rhi h and data analytics ki companies aa rhi hain
    Python ki ye series kitne time m complete kr doge aap?? Because you take many days gap between two videos.

    • @SushilKumar-z4o1m
      @SushilKumar-z4o1m 5 หลายเดือนก่อน +1

      Dear Chitransh,
      Rishab is working professional and he makes videos by engaging his time to provide free videos to viewer's.
      He need to adjust time to make videos by editing, which takes a lot of time to make this happens.
      So keep patients & learn.
      If you are in hurry you can also refer any other video which is already present on you tube.
      Sorry, @Rishab Mishra if i have done any mistake.

    • @RishabhMishraOfficial
      @RishabhMishraOfficial  5 หลายเดือนก่อน +2

      Yess I'm working on it, will try to share videos asap, in 2 weeks this series will be completed

    • @chitranshchaturvedi2333
      @chitranshchaturvedi2333 5 หลายเดือนก่อน

      @@RishabhMishraOfficial okay bhaiya

  • @PurviVarshney-e9s
    @PurviVarshney-e9s 5 หลายเดือนก่อน

    Sir pls help me Mere system ma python install ke time ek error aa rhe h python is not recognised pls isse kaise solve kre give me any suggestions

  • @uttamroy7947
    @uttamroy7947 2 วันที่ผ่านมา

    agar function mai (a=122,6000) dotu kya hoga
    🤔🤔🤔🤔

  • @sachinprajapati859
    @sachinprajapati859 หลายเดือนก่อน

    Bro calculator kaha h isme

    • @RishabhMishraOfficial
      @RishabhMishraOfficial  หลายเดือนก่อน

      Calculator k liye ek dedicated video hai- project1

  • @xtravengersgaming
    @xtravengersgaming 5 หลายเดือนก่อน

    Normal: Bulati hai MAGAR jane ka nahi ❌
    Function be like: Bulati hai ....toh...jane ka ✅

  • @craft_by_moons
    @craft_by_moons 2 หลายเดือนก่อน

    Sb kuch comment kese krte h aap ek sath sari rows 😢

    • @RishabhMishraOfficial
      @RishabhMishraOfficial  2 หลายเดือนก่อน

      Select karo and use "Ctrl" + ? button

    • @craft_by_moons
      @craft_by_moons 2 หลายเดือนก่อน

      @RishabhMishraOfficial ok thank you so much... I wasn't expecting your reply though, would really like to appreciate your efforts nd dedication towards your students nd work 👍🏼