Python for Beginners [25 of 44] Collections

Play Python for Beginners [25 of 44] Collections

The Discussion

  • User profile image
    WadeTsaiMSN
    What Christopher said in 6:19 is totally wrong, the second parameter of [0:2] is not "how many items are we going to grab". The meaning of the 2nd parameter is "the index of the item after the last item" we are going to grab.
    Come on, it's not professional at all, please correct it.
  • User profile image
    geektrainer
    I'm very sorry for the confusion here! Sometimes I move too fast in my efforts to break things down and make mistakes. I'm going to work to get back into the studio as soon as I can to update this video.
  • User profile image
    Qboxer
    Christopher, I am bit lost with the indexing at time >= 6:21.

    presenters = names[0,2]

    If 0 = Susan, then 2 = Bill. However, the function prints out Christopher.

    Please, do you have an explanation for this?

    Thank you.
  • User profile image
    Qboxer
    @WadeTsaiMSN:

    Thanks a bunch.

    I understand it better this way.

    No one is actually beyond making a mistake.

    Your contribution means a lot.
  • User profile image
    Qboxer

    17 minutes ago, Qboxer
    wrote

    Christopher, I am bit lost with the indexing at time >= 6:21.

    presenters = names[0,2]

    If 0 = Susan, then 2 = Bill. However, the function prints out Christopher.

    Please, do you have an explanation for this?

    Thank you.


    You can ignore, please.

Add Your 2 Cents