10. Functions [Python 3 Programming Tutorials]

Поділитися
Вставка
  • Опубліковано 17 лис 2024

КОМЕНТАРІ • 58

  • @codebasics
    @codebasics  2 роки тому +3

    Do you want to learn python from me with a lot of interactive quizzes, and exercises? Here is my project-based python learning course: codebasics.io/courses/python-for-beginner-and-intermediate-learners

  • @Drampam
    @Drampam 4 роки тому +21

    According to PEP 8 it's important to skip 2 lines after function block. Just for beginners to pay attention on that

  • @avisheksaha5321
    @avisheksaha5321 4 роки тому +3

    Extremely glad to watch all your videos regarding python and data science. You explained it not only quiet well but extremely well. Thank you. Looking forward to watch all your upcoming lessons.

  • @skkkks2321
    @skkkks2321 5 років тому +10

    Loving your simplicity and evenly broken module.Would it be possible for you to make a video series with Project like Data Science.Thank you

  • @mousumimaity796
    @mousumimaity796 5 місяців тому

    A helpful video to make clarity on if condition, for loop etc.

  • @shwetaredkar734
    @shwetaredkar734 3 роки тому +5

    You should be in teaching field not in industry. Academics need people like you for good understanding of programming.

    • @codebasics
      @codebasics  3 роки тому +6

      I am moving to teaching field by teaching on UA-cam already ☺️

  • @bhanuprathapnaidu8303
    @bhanuprathapnaidu8303 4 роки тому +2

    Really clear explanation sir,Great work. Thank you so much

  • @RM-lb7xw
    @RM-lb7xw 4 роки тому +4

    Loving this series. Any chance you are going to make a series on Data Structures and Algos in the future? Would really love to learn from you.

    • @codebasics
      @codebasics  4 роки тому +4

      I already have a series (I am working on adding algo videos but DS videos are already there). in youtube search "codebasics data structures and algorithms in python"

  • @prakharmishra2977
    @prakharmishra2977 5 років тому +1

    you are really great sir,i respect your altruistic work

    • @codebasics
      @codebasics  5 років тому

      Prakhar, I am happy this was helpful to you

  • @shubhacshekar6197
    @shubhacshekar6197 2 роки тому

    Great hard work really appreciate your simplicity in explaining beginners.Thanks sir.

  • @shahulhameedbuhari8479
    @shahulhameedbuhari8479 3 роки тому +4

    In your exercise solution for printing stars, two loops are used . I used the below code to get the same solution. Can i have your comment on this, please
    def printStars(endNumber) :
    total = ""
    for i in range(1,endNumber+1) :
    total += "*"
    print(total)
    printStars(5)

    • @kanwarpreetsachdeva7410
      @kanwarpreetsachdeva7410 3 роки тому

      def print_pattern(num_lines=5):
      for i in range(num_lines):
      print("*" * (i+1))
      return None
      print("Print pattern with input=4")
      print_pattern(4)
      print("Print pattern with input=6")
      print_pattern(6)
      print("Print pattern with no input")
      print_pattern()

  • @pushpayerraguntla3250
    @pushpayerraguntla3250 3 роки тому

    This is awesome code man,thanks a lot. God bless you

  • @Griffindor21
    @Griffindor21 3 роки тому

    Excellent video!
    There's an exercise? I can't find it here.

  • @MrShinshan89
    @MrShinshan89 5 місяців тому

    in the solution for print * can we not use just one for loop like below
    def print_pattern(num):
    n = range(num+1)
    for value in n:
    print (value * "*")
    pulp = print_pattern(3)
    print(pulp)

  • @codebasics
    @codebasics  4 роки тому +4

    Here is the link of exercise along with the solution, please work on it as it will make your learning solid: github.com/codebasics/py/blob/master/Basics/Exercise/10_functions/10_functions_exercise.md

  • @TonydeSa
    @TonydeSa 4 роки тому

    You've mentioned that you have posted exercises after each video. Can't seem to find them. Can you please post a link to the exercises? Your tutorials are great and working on exercises after them would help to fix them.

    • @codebasics
      @codebasics  4 роки тому +2

      Actually I am realizing I had posted them in my old series which had a background music. Many people didn't like the music so I had to make the playlist private. Also not all tutorials had an exercise. Can you do one thing? Go to my GitHub repo. GitHub.com/codebasics/py there you will find a folder called basics/Hindi. Here there are tutorials along with exercises description which is in .md file and that will have an exercise as well as a link for a solution

    • @codebasics
      @codebasics  4 роки тому +2

      I am also going to do a new series on python with better content and exercises

    • @TonydeSa
      @TonydeSa 4 роки тому

      @@codebasics Appreciate your efforts. Thank you

    • @prasadukandregula3478
      @prasadukandregula3478 4 роки тому

      @@codebasics Hello thanks for your Python tutorial. As mentioned by you, when can we expect new series on Python. Actually, I am about to learn Python. So asking. Thanks in advance for your answer.

  • @devloper_hs
    @devloper_hs 3 роки тому

    Sir why haven't you included **ke for giving multiple arguments in a fn

  • @arisgacha296
    @arisgacha296 3 роки тому

    Thank you for your helpful.

  • @anuruddhtamrakar5911
    @anuruddhtamrakar5911 3 роки тому

    while using default argument letting b=0 if we give variables as user input and then it shows error sir. How can we overcome it?

  • @Studentof2025
    @Studentof2025 3 роки тому

    Why do we need 2nd loop to print stars when we can do it with just a single main for loop?

  • @pranavikulkarni215
    @pranavikulkarni215 2 роки тому

    i am super gladd i found this damnnnnnn!

  • @fitarmy749
    @fitarmy749 4 роки тому

    I want to learn machine learning and AI will this course be effective to my path?

    • @codebasics
      @codebasics  4 роки тому +1

      Yes it should be. After finishing python tutorials I have pandas tutorials playlist and machine learning tutorials so you can watch them

    • @fitarmy749
      @fitarmy749 4 роки тому

      @@codebasics thanks teacher

  • @pahadiculture1912
    @pahadiculture1912 2 роки тому

    Thanks sir

  • @vamsi3087
    @vamsi3087 4 роки тому

    What is the meaning of def add_numbers(file:tel_num:set)->set:
    Pass

  • @Shradhapayal
    @Shradhapayal 2 роки тому

    where is the smaple exercises?

  • @vishalithakur6403
    @vishalithakur6403 Рік тому

    Sir i could understand

  • @farahamirah2091
    @farahamirah2091 3 роки тому

    Im sorry sir., Its difficult to understand the exercise., I try to make it by myself without looking solution, for example, the exercise say, input value., So I try to make user put an input.,then i got blur, i go to the solution, the input is already given.

  • @ArjunDas
    @ArjunDas Рік тому

    everything checked but i still got result as:
    Tom Expenses: 2100
    Joe Expenses: 200

    • @vedikagupta407
      @vedikagupta407 9 місяців тому

      actually same here...idk why is this happening

  • @codebasics
    @codebasics  5 років тому +3

    Learn data science with python and pandas: ua-cam.com/video/CmorAWRsCAw/v-deo.html

    • @buddhasatta
      @buddhasatta 4 роки тому

      do u have practice questions which i can use to practice codes

  • @informationbhargav
    @informationbhargav 2 роки тому

    sir i wanna internship. if you give

  • @hirakdas770
    @hirakdas770 4 роки тому

    great

  • @thulasiram1999
    @thulasiram1999 2 роки тому

    Anyone Please explain that line total = total + item icant understand

  • @balakrishnareddithala8718
    @balakrishnareddithala8718 Рік тому

    Professor....

  • @arvindersingh6593
    @arvindersingh6593 Місяць тому

    please, lower the keyboard noise, it's so annoying and distracting.

  • @arvindersingh6593
    @arvindersingh6593 Місяць тому

    Pretty confusing explanation.