Python 2.7 Tutorial Part 2

[ad_1]
Best Python Book :

I continue my Python 2.7 Tutorial by covering how to use Tuples and Lists in Python.


Posted

in

by

Tags:

Comments

23 responses to “Python 2.7 Tutorial Part 2”

  1. Waffle of Fortune Avatar

    Hey Derek, great tutorial as always! Gotta say, the difference in microphones/voice settings you use currently make a huge difference

  2. John Ktejik Avatar

    this is amazing! How are you able to talk, think and code at the same time?

  3. Deya Rimawi Avatar

    Hello Derek,
    Please note that listEx.remove(listEx[3]) for example won't remove the value of the index 3, it will remove the first element in the list that contains the value that is equal to listEx[3].
    >>> listEx = [1, 2, 3, 2, 5]
    >>> listEx.remove(listEx[3])
    >>> print listEx
    # the output will be:
    [1, 3, 2, 5] # not [1, 2, 3, 5]

  4. Khodkumbhe Awani Ramdas Avatar

    Hello,Derek…these videos are awesome.can you please suggest a website where I will get a plenty of practice coding questions in python?or please suggest the most efficient way to practice coding in Python.
    also please add uses of python in real life coding.

  5. poojitha gandra Avatar

    how to get given inputs in same line of the output

  6. durga bhavani Avatar

    From a list having multiple rows and columns, How could i access one complete column or only one row ?

  7. Hypernova Avatar

    What's the difference between a list and a tuple? In what situation would one be more suitable over the other? Sorry I'm just very curious and your videos are awesome!

  8. Ganesh Sundar Avatar

    Hi Derek,
    What is the difference between del and remove in list?

  9. Matt Dathew Avatar

    i wud wanna know which of these functions aren't in python3

  10. Muuip Avatar

    Great concise videos!

    Many thanks.

  11. Mino Lira Avatar

    Man! You are awesome!

  12. vishal maheshwari Avatar

    You explain everything so well! Thank you!!

  13. Derek Banas Avatar

    Thank you for correcting me. I'm sorry about misspeaking

  14. ollemonster Avatar

    Hey, As i said before, I really like your tutorials. In this one there is a little thing… When you show print listnum [1:10:2] and say the 2 represent how many you want to skip. But in fact you don't skip 2 but take steps of two so you print every second one.
    I am not even sure why i comment on this little thing but i just thought about it…
    I love that you don't say "aaaa" or "aaaaam" every third word as most tutorials do btw πŸ™‚

  15. Derek Banas Avatar

    Java probably isn't in your path. Here is a solution stackoverflow. com/questions/2030434/eclipse-no-java-jre-jdk-no-virtual-machine

  16. RacKetEffect Avatar

    I'm having trouble opening Eclipse. When I try to open it a message says I don't have a java runtime environment but I do. It does mention that it searched it the specific Eclipse folder so does that have something to do with it although there is no way of changing the folder it searches in. …

  17. Wesley Stam Avatar

    5:35 – it's also possible to specify "::"; if one wish to skip x amount of characters without specifying begin/end numbers. Thanks for the vids πŸ™‚

  18. Derek Banas Avatar

    I have a shortcut set up so that when I hit F5 the app runs

  19. Derek Banas Avatar

    You're welcome πŸ™‚ I like making videos that are different from others. I like being the fast tutorial guy

  20. ot0 Avatar

    than you really much for editing the video (deleting the pauses), so we don't spent out useful time! πŸ˜€

  21. vexe Avatar

    Well, what you said is true, but it will resolve to the same thing (as if you're deleting an item from a list by index), for example:
    list = [ 'spell', 'doom', 'warcraft', 'dawn' ]
    list.remove (list[1]) == list.remove('doom') which will both chop out 'doom' πŸ™‚
    (correct me if I'm wrong)

  22. vexe Avatar

    What's the use of tuples, if you can't change elements individually, and you can use lists all the time?

Leave a Reply

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