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

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 พ.ย. 2024

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

  • @darekwroblewski1090
    @darekwroblewski1090 5 ปีที่แล้ว +98

    For clarification (5:20) count is not related to the function count() and the reason there is a comma (//from code\\ for count *,* row in enum...) is because he is working with two variables, he declared as count and row. You could also write that in brackets if it helps you understand it better like such:
    for (count, row) in enumerate(game):
    print (count, row)
    Since, enumerate pumps out two values i.e. the index and the element like this:
    (index, [row])
    (0, [0, 0, 0])
    (1, [0, 0, 0])
    (2, [0, 0, 0])
    All sentdex did was specify that he wants to call the two variables (index and element) count and row and then just referenced them afterwards like this : print (count, row)
    resulting in:
    0 1 2
    0 [0, 0, 0]
    1 [0, 0, 0]
    2 [0, 0, 0]
    reason for commenting: got confused about the comma, wanted to save people the hassle of googling about.

    • @ishowyouapple
      @ishowyouapple 4 ปีที่แล้ว +3

      Thanks for the doing the job he should have done in explaining this. He claims it’s for first time programmers then he does confusing shit like this and doesn’t explain.

    • @nrm7747
      @nrm7747 4 ปีที่แล้ว +1

      Darek Wroblewski , thank you so much . You just helped me save my time and piece of mind. I was at the edge of raging when I read this comment.Thank you :D

    • @nrm7747
      @nrm7747 4 ปีที่แล้ว +1

      @MG dude everyone makes a mistake once in a while. Don’t be too hard on him. Good luck in your programming journey if you are a first timer

    • @vudinhhung942k
      @vudinhhung942k 4 ปีที่แล้ว +8

      Adding to your clarification, the enumerate() function returns an enumerate object, which is essentially a list of tuples, each tuple containing the index (the count) and the actual row. So in that line < for (count, row) in enumerate(game): >, the (count, row) is just a tuple that contains a count and a row in that list of tuples that enumerate(game) returns to us. The reason sentdex could write < for count, row in enumerate(game): > without the parentheses is because you can declare a tuple with or without parentheses. It's just how the syntax work.
      If you try removing the count from that for loop line, so:
      for row in enumerate(game):
      print(row)
      That would print out:
      (0, [0, 0, 0])
      (1, [0, 0, 0])
      (2, [0, 0, 0])
      which is close to what we want, but has a pair of parentheses outside each row. The reason is because since we are only giving one variable for each row in each of the element of the list, each 'row' in this case is a tuple (a tuple that contains the 'count' and the original 'row')

    • @timeless8135
      @timeless8135 4 ปีที่แล้ว +1

      thanks bro ! that makes sense now

  • @rocococoism
    @rocococoism 5 ปีที่แล้ว +63

    For those of you wondering the classic sentdex coffee sip is at 6:00

  • @Cat_Sterling
    @Cat_Sterling 6 ปีที่แล้ว +2

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

  • @LukeBarousse
    @LukeBarousse 4 ปีที่แล้ว +3

    6:55 - "A pound sign or hashtag... depending on when you were born" 🤣

  • @sharvilb2420
    @sharvilb2420 6 ปีที่แล้ว

    Learning python from ur videos is just amazing!!!!! thanx a lot :)

  • @barrjohnm
    @barrjohnm 4 ปีที่แล้ว +1

    thanks so much for these simple tutorials, very helpful!

  • @jhagaurav8292
    @jhagaurav8292 6 ปีที่แล้ว

    I hope you get a million subscribers as soon as possible for doing this great job

  • @inferno6012
    @inferno6012 5 ปีที่แล้ว +3

    each of your videos is a like infinite stone they give you command over different things

  • @dawid_root
    @dawid_root 6 ปีที่แล้ว +10

    Can't wait :D .

  • @maxinteltech3321
    @maxinteltech3321 5 ปีที่แล้ว

    man you made the boring coding even interesting. Thanks!

  • @Baelfyr
    @Baelfyr 6 ปีที่แล้ว +10

    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.

    • @sentdex
      @sentdex  6 ปีที่แล้ว +7

      Weird I'm getting so many people who dont like the 10 min length. Usually people are complaining that my videos are too long :O
      I just go as long as it takes to cover a concept, and basics...well, the concepts are pretty basic and don't take very long to get through.

  • @ferrabras
    @ferrabras 6 ปีที่แล้ว +2

    I am doing it with my daughter. We just used the numeric pad to input! 😉

  • @sebaseek8568
    @sebaseek8568 5 ปีที่แล้ว

    Your videos are smooth to watch

  • @Devaggarwal-p3z
    @Devaggarwal-p3z ปีที่แล้ว +1

    it is so imformative for me

  • @idiocracy10
    @idiocracy10 6 ปีที่แล้ว

    I hate watching your posts at night, my usual time, because i get so envious when you take that sip of coffee.

    • @sentdex
      @sentdex  6 ปีที่แล้ว +4

      Join us on the dark side, where we drink coffee all night as well >:)

  • @justinsmith5496
    @justinsmith5496 4 ปีที่แล้ว +2

    I just found your videos and I am working though learning Python. I just finished this video and I am getting extra ( and , in my output. The rows are printing (0, [0, 0, 0]). Why? I'm using Python 3.8 and Sublime Text 3.

  • @MOhan-ur4ei
    @MOhan-ur4ei 6 ปีที่แล้ว +4

    Man you are just awesome..

    • @sentdex
      @sentdex  6 ปีที่แล้ว +1

      Thanks!

  • @kirak0317
    @kirak0317 4 ปีที่แล้ว +3

    Hi, um how does the code recognize count without you having defined a value for it?

  • @kdscheer
    @kdscheer 4 ปีที่แล้ว

    I am using Sublime Text version 3.2.2, build 3211, which is the latest version. I am following the tutorial closely. My output is displaying slightly different from yours. The “print(count, row)” code in the last line results in an output that includes the parentheses both before and after each row of the game board as well as an unwanted comma displayed after the row count. Like this:
    a b c
    (0, [0, 0, 0])
    (1, [0, 0, 0])
    (2, [0, 0, 0])
    I proceeded to change the last code line to be “print count, row” - by just removing the parentheses in that line of code. When I do this, the word “print” changes from light blue to pink in color. Then output works, and the parentheses before and after each row in the game board are now gone (so the display now matches what is in the video tutorial). What is going on here? Should I continue to leave the last code line as I have it now, or will this mess something up in future modules of this tutorial? Alternatively, I could leave the code to match yours exactly and just accept the parentheses showing up on the game board output.
    I suspect this is do to some setting/issue with Sublime Text as when I run the script as I have it (without the parentheses in the line of last line of code) in Xubuntu Xfce’s terminal, I get an error message asking if I had meant for the parentheses to be there. So, I went back to the “tutorial2.py” code and changed it back to how you have demonstrated in the tutorial. When I then run the program in terminal with python3, it displays just as a you had intended. Is there a setting in Sublime I need to change?
    Thanks.

  • @keatonmiller2745
    @keatonmiller2745 6 ปีที่แล้ว +6

    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])

    • @lank_asif
      @lank_asif 6 ปีที่แล้ว +4

      same. I don't get why there's "count" and "row"

    • @ernramos1991
      @ernramos1991 6 ปีที่แล้ว +13

      for count, row in enumerate(game):
      enumerate() uses the first variable in your loop definition to create a counter. That way you don’t have to i = 0 above your loop.
      count is counting 0,1,2,3.... etc.
      row is storing the value of each object in game

    • @lank_asif
      @lank_asif 6 ปีที่แล้ว

      @@ernramos1991 thank you so much man, that really helps.

    • @ernramos1991
      @ernramos1991 6 ปีที่แล้ว

      Lank Asif no problem, glad I could help :)

    • @keatonmiller2745
      @keatonmiller2745 6 ปีที่แล้ว

      @@ernramos1991 double thanks!

  • @jajajjajajajajajjjaj
    @jajajjajajajajajjjaj 4 ปีที่แล้ว +2

    The below is showing the same result, can some please help explain this to me?
    Is count redundant?
    for row in enumerate(game):
    print(row)

  • @Idlehampster
    @Idlehampster 6 ปีที่แล้ว +7

    Y’all are overlooking the greatest functionality of premieres. You don’t have to wait 24 hours to be ‘first!’

  • @texasfootball8
    @texasfootball8 5 ปีที่แล้ว +2

    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?

    • @meh5082
      @meh5082 5 ปีที่แล้ว

      yea same i dont get it

  • @jsonkody
    @jsonkody 6 ปีที่แล้ว

    Hi Sentdex. Nice video.
    I wanted ask if you plan or consider to do any series about golang again?

  • @gdthegreat
    @gdthegreat 5 ปีที่แล้ว

    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

  • @oliverludwig6148
    @oliverludwig6148 3 ปีที่แล้ว

    Can I look at the inner workings of built-in Python functions?

  • @Cat_Sterling
    @Cat_Sterling 6 ปีที่แล้ว +1

    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

    • @jsonkody
      @jsonkody 6 ปีที่แล้ว

      Yes. Everything is pissible :D Figure it out ;)

    • @jsonkody
      @jsonkody 6 ปีที่แล้ว

      SPOILER ALERT
      run loop inside loop (first/outer loop iterate over game so it give you row as X, seccond/inner loop iterates over that row so it give you values of that row)
      keep tracking index of a row (first, bigger loop)
      keep tracking index of inner loop
      concatenate and print these two indexes in inner loop
      done
      PS: if you look at that numbers they are basically "index of a row" + "index of a element"
      How did I fugured out that problem? First of all, I do programming some time so this was kind of automatic for me but generaly what you need to do is maybe find some pattern in problem but mainly use "DIVIDE AND CONQUER" rule. Divide complex problem to more/many easier tasks. Figure tasks one by one. Done.
      As Sentdex showed. You will not usualy know how to do something from 0-100%. But you can figure out one thing, start with it and build on that.
      After some time you will know these patterns automaticaly so they became obvious.

  • @daisydiary1895
    @daisydiary1895 5 ปีที่แล้ว +2

    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])

    • @SaurabhGupta-xv4fk
      @SaurabhGupta-xv4fk 5 ปีที่แล้ว

      Are you using linux?

    • @daisydiary1895
      @daisydiary1895 5 ปีที่แล้ว

      I am using mac os, not linux

    • @matteocallisti1100
      @matteocallisti1100 5 ปีที่แล้ว

      @@daisydiary1895 I have the same issue, and I'm using Mac OS too, have you solved the problem?

    • @joshuakim3481
      @joshuakim3481 5 ปีที่แล้ว +1

      Hey, not sure if you have it solved by now (I'm assuming so because it's been several months, but just in case you didn't) it has to do with the build system. I believe Sublime Text is using Python 2.x, whereas this is done in Python 3.x. You can have this fixed by adding a new build system via Tools > Build System > New Build System ... >
      In that file, copy and paste the following
      {
      "cmd": ["/usr/local/bin/python3", "-u", "$file"],
      "file_regex": "^[ ]File \"(...?)\", line ([0-9]*)",
      "selector": "source.python"
      }
      Make sure the path to your python3 is correct. If using Linux, you can check by typing "which python3" in terminal.
      Save this .sublime-build file (I saved mine as Python3.sublime-build). Once you do this, select this build and try again. Should fix it.

  • @klemn0291
    @klemn0291 4 ปีที่แล้ว +1

    How do you run what you write in the text editor directly in a terminal?

  • @davidjanssen894
    @davidjanssen894 5 ปีที่แล้ว

    Are count and row keywords? Or can you use whichever name you like?

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

    i am wondering why i am getting this error Game = [
    [0, 0, 0],
    [0, 0, 0],
    [0, 0, 0]
    ]
    print(" 0 1 2")
    count = 0
    for row in Game:
    print(count, row)
    count += 1
    TypeError: 'str' object is not callable
    can you please help me with this? and i am working on kaggle.

  • @Jzarecta
    @Jzarecta 6 ปีที่แล้ว

    Are you adding the new 3.7 features like built-in debugger?

  • @emhyrvemrais7574
    @emhyrvemrais7574 4 ปีที่แล้ว

    Thanks i have to learn PyTorch but i never learn python

  • @Alex-ws9lr
    @Alex-ws9lr 5 ปีที่แล้ว +3

    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

    • @ishowyouapple
      @ishowyouapple 4 ปีที่แล้ว +3

      Doesn’t help that he skips over shit

  • @AbidinARPACI
    @AbidinARPACI 6 ปีที่แล้ว +1

    Thank you.

  • @Omidd2831
    @Omidd2831 ปีที่แล้ว

    hi can I inquire about something, I have some problems with my python app can you help?

  • @shah6868
    @shah6868 2 ปีที่แล้ว

    Different Mugs in all the videos so far. This means if you have made all these videos in one go,
    you are drinking water from each mug just to show them ;)

  • @antonioramosmorales843
    @antonioramosmorales843 4 ปีที่แล้ว +1

    in 5:20 How does python know that what count and row mean if you haven't told them?

    • @sentdex
      @sentdex  4 ปีที่แล้ว +2

      Enumerate is a built in function, returning index and item of an iterable. Thus, it knows to refer to the index as count and item as row, bc that's how we assigned it, quite literally when typed out the 2 var names in the statement.

  • @sohamsdays
    @sohamsdays 6 ปีที่แล้ว

    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 ?

    • @ernramos1991
      @ernramos1991 6 ปีที่แล้ว

      Soham De because the loop is iterating over each object in game, only. There’s three lists (called rows here) inside game so:
      for each in game:
      would run three times and counting from 0 end at 2.
      Also, len(game) is 3. Len() starts counting at 1.

  • @amrsaad9108
    @amrsaad9108 3 ปีที่แล้ว

    after you used enumerate( ) ... why do we need the variable (count)?

    • @dispatchOS
      @dispatchOS 3 ปีที่แล้ว

      asking the same thing

  • @daisydiary1895
    @daisydiary1895 5 ปีที่แล้ว +1

    I got the correct output from the terminal

  • @alielmoussaouy7486
    @alielmoussaouy7486 5 ปีที่แล้ว

    @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?

  • @JokiBroki
    @JokiBroki 4 ปีที่แล้ว

    I am working on a terminal in mac, I just have no clue how to print top column 1 2 3. I can manage to have side row but not top column.

  • @ashleym1849
    @ashleym1849 5 ปีที่แล้ว

    :\Users\derp\AppData\Local\Programs\Python\Python37\python.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?

  • @Gr33n37
    @Gr33n37 6 ปีที่แล้ว

    thank you

  • @VangibathBadnekai
    @VangibathBadnekai 6 ปีที่แล้ว +3

    "Pound or a "hashtag" depending on when you were born" ROFL XD

    • @lars_larsen
      @lars_larsen 4 ปีที่แล้ว

      The reason the "MeToo" thing hasn't been going quite as expected..

    • @philmordecai
      @philmordecai 4 ปีที่แล้ว

      It can also vary depending on where you were born. In the UK, pound is my currency (£), so this symbol (#) if you are not a millennial is just a "hash" :o)

  • @saitarunreddyvelagala5434
    @saitarunreddyvelagala5434 4 ปีที่แล้ว

    Are ya winnin' son?

  • @ashleym1849
    @ashleym1849 5 ปีที่แล้ว +2

    I think I broke python. It won’t give me the bottom portion where it says finished

    • @tp2681
      @tp2681 5 ปีที่แล้ว +1

      lol

  • @chinedufelix1702
    @chinedufelix1702 4 ปีที่แล้ว

    My python version can't seem to print the top row 1 2 3, just the side column, I'm using python 3.7.4 shell, help anybody??

  • @omarsantiago9655
    @omarsantiago9655 4 ปีที่แล้ว

    Hello, how am I able to erase and go up to change the previous line of code written, I am using IDLE.

  • @CodeMastersChannel
    @CodeMastersChannel 5 ปีที่แล้ว

    wow nice

  • @shauniop
    @shauniop 6 ปีที่แล้ว

    @sentdex These are absolutely basic tutorials. Will there be advanced stuff?

    • @sentdex
      @sentdex  6 ปีที่แล้ว +2

      Good, that's what this series is meant to be, and updated basics series. The rest of my channel is more advanced. I dunno what more you want that isn't already on my channel.

  • @TheCompyGuru212
    @TheCompyGuru212 5 ปีที่แล้ว

    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

  • @qtptnqtptnable
    @qtptnqtptnable 6 ปีที่แล้ว +1

    Nice mug lol. Very useful video, as always...pls, keep being great :)

  • @Kaysler
    @Kaysler 5 ปีที่แล้ว +1

    Oy. I am new to python and checking out video tutorials, sadly I won't be sticking around. these 9 min videos half teach something and I really feel i'm just wasting my time here. Best luck I hope you can improve your presentation of complete concepts in the future.

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

    I didn't get that "row and count" part as I m a beginner😅

  • @roynorton4000
    @roynorton4000 5 ปีที่แล้ว

    I couldn't get count += 1 to work without an error, odd...

  • @Ahmed.Shaikh
    @Ahmed.Shaikh 6 ปีที่แล้ว +1

    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, >:(_

    • @sentdex
      @sentdex  6 ปีที่แล้ว +1

      LOL

  • @abhijeetkhanapurkar1716
    @abhijeetkhanapurkar1716 4 ปีที่แล้ว

    Why is there count in the 'for' loop and in print?

    • @fredm.2699
      @fredm.2699 2 ปีที่แล้ว +1

      not sure if it helps because im commenting 2 years later. I had the same question and spent like 15 mins trying to read the comments to see if anyone answered it. lets break it down. for row in game: print ("row") will print out the rows that are a bunch of zeros. However, we want to label the row right? So he shows us a basic label, and calls each row 0 as well. To do that, he uses print(count,row" so that for each row, it first prints the count and then the row, in game...the count is defined as zero at the top, and the row is just the list of zeros...

    • @fredm.2699
      @fredm.2699 2 ปีที่แล้ว +1

      i also just did "print (0,row) and it labelled all the rows as 0...so you introduce count to make it dynamic and one row can be called 0, the other row can be called 1, the other one 2

    • @abhijeetkhanapurkar1716
      @abhijeetkhanapurkar1716 2 ปีที่แล้ว +1

      @@fredm.2699 Thank you.

  • @medjassertoubib4467
    @medjassertoubib4467 6 ปีที่แล้ว

    for index,row enumerate(game) . is this ok?

    • @sentdex
      @sentdex  6 ปีที่แล้ว +1

      Sure, that'd be fine too.

    • @lank_asif
      @lank_asif 6 ปีที่แล้ว

      @@sentdex Could you please explain why you use both "count" and "row" as indexes for enumerate(game) when that only enumerated the rows. Surely
      "for row in enumerate(game):" would produce the same outcome? And thanks again for the wonderful channel.

  • @DataScientist268
    @DataScientist268 5 ปีที่แล้ว +1

    I just like saying the word "enumerate".

  • @vegito8502
    @vegito8502 4 ปีที่แล้ว

    # Define Grid
    grid = [[0,0,0] for i in range(1,4)]
    grid = list(enumerate(grid,start=1))
    #DISPLAY THE GAME
    for index,row in grid:
    print(f'{index} - {row}')
    didn't include the col names. Looking for a better solution.

  • @FaBNEk
    @FaBNEk 6 ปีที่แล้ว

    Noo too late for the premiere!!!

    • @sentdex
      @sentdex  6 ปีที่แล้ว

      Better luck next time XD

  • @TheMikerandall
    @TheMikerandall 5 ปีที่แล้ว +3

    that last "," in the game list was ugly to look at, I've come from other programming languages .
    [[0,0,0],
    [0,0,0],
    [0,0,0]]
    ahhh i feel better now.

  • @napalm_exe
    @napalm_exe 5 ปีที่แล้ว

    Those coffee mugs tho....

  • @mohdumar828
    @mohdumar828 4 ปีที่แล้ว

    HELP ME OUT WITH THE INDENTATIONAL ERRROR PLZZZZZ

  • @vbaku9766
    @vbaku9766 6 ปีที่แล้ว

    I got lost on the enumerate part. Anyone up to the challenge of somehow trying explain it even more?

    • @sentdex
      @sentdex  6 ปีที่แล้ว +1

      Come join our discord discord.gg/sentdex and someone can certainly help you in the #help channel!

    • @PuraTvOyun
      @PuraTvOyun 6 ปีที่แล้ว

      It's simply counts the items in iterables. We use for that purpose here at least. If you want deeper details please check the python docs.

  • @super7ace
    @super7ace 3 ปีที่แล้ว

    6:27
    im getting:
    0 1 2
    (0, [0, 0, 0])
    (1, [0, 0, 0])
    (2, [0, 0, 0])

  • @LabGecko
    @LabGecko 6 ปีที่แล้ว

    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.

    • @sentdex
      @sentdex  6 ปีที่แล้ว

      You like the content. But downvoted. Makes sense ;)

    • @ishowyouapple
      @ishowyouapple 4 ปีที่แล้ว

      sentdex you claim this is for total newbie beginners, and you use words like iterate and write code in unintuitive ways. Makes sense

  • @mohdumar828
    @mohdumar828 4 ปีที่แล้ว

    it always show a indentational error !!!1

  • @ranjithkumarg7744
    @ranjithkumarg7744 5 ปีที่แล้ว

    Anyone know what IN command do

    • @sentdex
      @sentdex  5 ปีที่แล้ว

      Means the same thing as you would expect. Is something in something

  • @vybs9235
    @vybs9235 3 ปีที่แล้ว +1

    1 mil? Or no.

    • @sentdex
      @sentdex  3 ปีที่แล้ว

      who knows

  • @To_aliabbas
    @To_aliabbas 4 ปีที่แล้ว

    Share discord link please

  • @ishowyouapple
    @ishowyouapple 4 ปีที่แล้ว

    How would a newbie like me know to include count in front of row. I hate how tutorials do this it’s frustrating. I know you know now teach me don’t just do it

  • @Bobylly
    @Bobylly 5 ปีที่แล้ว

    nice mug

  • @ciaranmccann5018
    @ciaranmccann5018 5 ปีที่แล้ว

    For beginners my arse!!!

  • @kushalrahatkar4568
    @kushalrahatkar4568 4 ปีที่แล้ว

    depending on when u r born? lmao

  • @Spoot1RHGL
    @Spoot1RHGL 6 ปีที่แล้ว +2

    don t do premiere please

    • @sentdex
      @sentdex  6 ปีที่แล้ว +2

      Why?

    • @Spoot1RHGL
      @Spoot1RHGL 6 ปีที่แล้ว +2

      @@sentdex 1.Looks like a new video and is therefore misleading
      2.Clutters the sub box
      3.Kills the views. A video which is not premiered will gain more views .
      Check the channel counter arguments for his great analysis video about premieres.

    • @x_Paulo_Nogueira_x
      @x_Paulo_Nogueira_x 6 ปีที่แล้ว +1

      @@sentdex - i do hate this system... was watching the other one.... page refreshed, it disappear, and now im on a new one that will only start in 19h lol ... gg youtube :D

    • @x_Paulo_Nogueira_x
      @x_Paulo_Nogueira_x 6 ปีที่แล้ว +1

      @@sentdex + what he sayed also regarding the views, thats related on how internal youtube share them, diff team i assume, and they arent sharing them the same way.
      But thats ur call, its your views :D I just hate how they place the "premier" and i just prefer to watch it 1d after. Personal opinion ofc

    • @sentdex
      @sentdex  6 ปีที่แล้ว +4

      @@Spoot1RHGL 1. I think it pretty clearly denotes that it's a scheduled video, really no different than livestreams. 2. Okay, that's not the fault of a creator at all. 3. No... it really doesn't That's straight fud. I've not done enough premieres to have totally statistically relevant data, but no one has. I will say though, it doesnt appear to have hurt views in any way. If anything, videos seem to do better, and I believe it's due to watch time being initially higher in premieres, which I can confirm in the analytics.
      It's a new feature. There will be some bumps. If those bumps, especially the ones outside of a creators control, are the reason why you stop supporting that creator... that's pretty lame, but that's not someone I'd want in my community anyway. I've thoroughly enjoyed the interactivity of the premieres, and intend to continue to use them.

  • @Hunar1997
    @Hunar1997 6 ปีที่แล้ว

    Should we click the unlike button 😂

  • @infinityinf1
    @infinityinf1 6 ปีที่แล้ว

    Too long, much too long

    • @qtptnqtptnable
      @qtptnqtptnable 6 ปีที่แล้ว

      9 minutes too long? Its not a 2h turorial man

  • @beach_bum_dev
    @beach_bum_dev 6 ปีที่แล้ว +3

    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...

    • @sentdex
      @sentdex  6 ปีที่แล้ว +4

      Are you.....
      ...
      ...using Python 2? Sounds like it :O

    • @TheJam3ia
      @TheJam3ia 6 ปีที่แล้ว

      what's solution for getting the same result?
      i'am use the sublime text in the Debian OS.
      and I use the 3.5.3 version of python installed with anaconda IDE

    • @101MrFreak
      @101MrFreak 5 ปีที่แล้ว

      @ Christian Slay,
      I get the same output when I exclude count:
      for row in enumerate(Game):
      print(row)
      Are you sure you have included count everywhere?

    • @jesusvaldivia2034
      @jesusvaldivia2034 5 ปีที่แล้ว

      If you are using Linux with 2.x and 3.x installed, run the python script from a Terminal using Python 3.x to get the same result. I have both versions and running the script in Sublime returns the output with parentheses. It seems Sublime is using Python 2.x and not 3.x. Not sure about it.

  • @To_aliabbas
    @To_aliabbas 4 ปีที่แล้ว

    Share discord link please

    • @sentdex
      @sentdex  4 ปีที่แล้ว

      Discord.gg/sentdex

    • @To_aliabbas
      @To_aliabbas 4 ปีที่แล้ว

      @@sentdex Thank you. I got in. Do you answer machine learning questions there?