Built-in Functions – Python 3 Programming Tutorial p.4

Learning how to use built-in functions, and where to find more!

https://docs.python.org/3/library/functions.html

Playlist: https://www.youtube.com/playlist?list=PLQVvvaa0QuDeAams7fkdcwOGBpGdHpXln

#python #programming #tutorial

62 comments

  1. Ahmed Shaikh on

    Without premiere: *Sentdex uploads a video @9:30 AM on xyz day*
    Certain People: _unconcerned, :)_

    With premiere: *Sentdex is gonna upload a video @9:30 AM on xyz day*
    Same certain People: _but that’s too long, >:(_

    Reply
  2. Sandesh Dhamne on

    To be honest.. Premier is a great update for one good reason.. For anyone who know how to use it.. Think about it in this way.. ‘If you are new to something you have to maintain some consistency with it. if video is scheduled at one particular time, you know that it will be there on that time and you can be there at that time learn one new thing for that day and that’s it! You’re done for that day! You’ll be consistent with your learning without any pauses in it.’ Fixed one timing+Fixed one new topic every single day= Improved Consistency.. As simple as that..

    Reply
  3. Brett Beacon on

    Im loving this new tutorial of yours to learn python. My only complaint is the videos are super short. Just as you get going it ends and that sucks 🙁 10 minute videos on programming isnt enough for me but other than that im enjoying what you’re teaching.

    Reply
  4. Keaton Miller on

    Having trouble understanding why the count, row enumerate(game) loop returns the desired 0 [0,0,0] and not something like 0 (0, [0,0,0])

    Reply
  5. morph3us on

    Hey sentdex, I was wondering if you ever thought about maybe doing something with Blender, the open source 3D program, which, besides of some core c++ dlls mostly consists of Python?

    Reply
  6. Мохамед Камаль on

    Hey Harry , can u please make an updated course on machine learning , i would really appreciate it man 🙂

    Reply
  7. Christian Slay on

    when I print the count, it has a parentheses and coma like so:
    0 1 2
    (0, [0, 0, 0])
    (1, [0, 0, 0])
    (2, [0, 0, 0])

    does anyone know why that is? My code looks the same as his…

    Reply
  8. Cat Sterling on

    It’s a great idea to not just do the basics, but build programs right away, so much more interesting and engaging. Loving it!

    Reply
  9. Cat Sterling on

    Is it possible to print out “indexes” of all the rows and all the items in the rows in a matrix style, that will look someting like that?:
    00, 01, 02
    10, 11, 12
    20, 21, 22

    Reply
  10. Soham De on

    One Doubt,
    How does the count know that it has to stop at 2, means counting 0,1,2.
    As there is no end condition given why doesn’t it go infinitely instead ?
    Like 0,1,2,3,4,5…. and so on ?

    Reply
  11. Roy Arisse on

    Very nice tut!

    Minor addition: not everything starts at zero in programming, but a lot does. And if it does we call that “zero indexed” 😉

    Reply
  12. John Walton on

    Yo GREAT series GREAT examples; I’ll donate or buy your course! Thanks for the good examples tho that seriously sets the instructors apart, pragmatic examples that are highly relatable .

    Reply
  13. Species 8472 on

    Yo GREAT series GREAT examples; I’ll donate or buy your course! Thanks for the good examples tho that seriously sets the instructors apart, pragmatic examples that are highly relatable .

    Reply
  14. PostHumanOriented 8472-1488 on

    Yo GREAT series GREAT examples; I’ll donate or buy your course! Thanks for the good examples tho that seriously sets the instructors apart, pragmatic examples that are highly relatable .

    Reply
  15. LabGecko on

    I downvoted for this reason: Jumping around a lot on direction you are going. I understand you’re writing on the fly, but maybe just a _little_ planning would cause less confusion. You also use a lot of lingo that is not always easy for new coders to figure out (iterate), and I feel that should have some explanation. I’ve been programming for decades so I know the word, but not the details of how Python uses iterators. It would help to understand the logic behind *why* Python works like it does. That said, still like the content. This fast intro is exactly what I was searching for.

    Reply
  16. Ganesh Deshmukh on

    Thanks Sentdex for tutorials and this playlist, but I couldn’t find any link to code while learning this.
    I have completed this entire series of Tic_Tac_Toe, link to code is
    @t

    Reply
  17. Hitsugaya on

    test = [“test1”, “test2”, “test3”]

    for c,r in enumerate(test):
    print(c,r)
    ===================================
    I tried the code separately (i love doing that helps me memorize stuff),anyways after i run it it works (shocker..)
    ===================================
    0 test1
    1 test2
    2 test3
    ===================================
    now what i wanna know is why does it work the way it does,why does command “for anything,anything enumerate(test)” works? i could’ve put literally anything after the “for” command and the code would format my list,and it would enumerate it. i understand enumerate command and all that,i just don’t understand,why do i have to put 2 letters or words separated by comma after the command “for”,for it to work the way it does.
    bear in mind if i used only 1 letter and not 2 it would compile like this.
    ===================================
    (0, ‘test1’)
    (1, ‘test2’)
    (2, ‘test3’)

    Reply
  18. New and Developed on

    :UsersderpAppDataLocalProgramsPythonPython37python.exe: can’t find ‘__main__’ module in ”
    [Finished in 0.3s]
    I am getting this on the very bottom what is going on with python?

    Reply
  19. Ross Li on

    Hey Harry, I still have the problem with the output. My python version is 3.7. Thank you very much
    0 1 2
    (0, [0, 0, 0])
    (1, [0, 0, 0])
    (2, [0, 0, 0])

    Reply
  20. EL MOUSSAOUY ALI on

    @sentdex Hi, I don’t get the result when I do : for row in game : … print(row) . I’m encountered an error saying :
     Original exception was:
    File ““, line 2
    print(row)
    ^
    IndentationError: expected an indented block
    >>>
    Please could you let me know if I must install or add something?

    Reply
  21. Connor O'Malley on

    How come you have to define and print count, row? why not just row? I noticed it puts (1, [0,0,0]) around it. how come? is that just the format of the enumerate function?

    Reply
  22. Alejandro Garrido on

    I have to admit this is the first time I program since I was in high school doing html and HOLY CRAP am I confused at this stage lol

    Reply
  23. Musa ATALAY on

    hello guys, if you need free cloud server, you can click to below link and signup for free with my referal code and then you will get 100$ free credit to use in next 2 months in DigitalOcean, it is beneficial for both of us, you and me, thanks in advance 🙂
    https://m.do.co/c/c70e2ccad11d

    Reply
  24. TheCompyGuru212 on

    0 1 2
    (0, [0, 0, 0])
    (1, [0, 0, 0])
    (2, [0, 0, 0])
    [Finished in 0.1s]

    guys this is my output for the code @5:31
    why do i have the parentheses and commas? help please? @sentdex

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Show Buttons
Hide Buttons