Python Programming Tutorial – 11 – Editing Sequences
Part 12 – www.youtube.com How to edit sequence in python.
May 8, 2010 | Filed Under Python Tutorials
Comments
25 Responses to “Python Programming Tutorial – 11 – Editing Sequences”
Powered by Yahoo! Answers
del list[number]
@gamemak0r: a.pop() # no arguments pops last one a.pop(0) # pops first element or del a[4]
How to remove the duplicate element?
Thanks in advance
“Wam, bam, thank you mam”
i love you
Thank you so much..I was lost and you helped me a lot….thanx again
Did anyone else find the built in ‘n-word’ kinda offensive lol jk
lol mam
i just like to point out that i like roast beef as well.
What if you have more than one? Can you count the number of instances?
@BlackMesaProgrammer “I’m sick of bucky… Hrm… let’s see….. roastbeef.”
you’re funny :)) I’d like to have you as a teacher :))
your sis will mad at you ;)
so is python only a DOS box program coder or can you actually make things like forms from VB 2008?
@Micaheldawg101, it’s not a DOS box. It runs in a terminal/console. You can make GUI’s. There’s probably some RAD tools (rapid application development), where you can make GUIs as easy as in Visual Studio.
Try googling ;)
You can do almost anything VB can, it’s a matter of skill. Dragging a bunch of buttons onto a “sheet” isn’t what some would call skill. That’s why I like python, it’s a challenge.
3:00 you used [21], but I started to think, why wont you use ‘ ‘ instead of [ ], and it worked :) So you have a reason for that, or just didn’t mention ‘ ‘ ? btw, lovely tutorials, thank you for your photoshop, dreamweaver, java, and these tutorials, you’ve taught me ALOT. :)
Great tutorials!
Thanks
Thank you very much.
@Realsoft3D The diference is here, supose you have a list
print list [4] * 4 : will show 16
print [list [4] ] *4 : will show [4,4,4,4]
print ‘list [4] ‘* 4 : will show ‘list [4],’list [4],’list [4],’list [4]‘
But just dragging items to a sheet in VB doesn’t create a program, just a window GUI that doesn’t do anything unless you write the program for the window. But you can also have a VB program which doesn’t need a window as well.
I love ur tuts, and I dont wanna be a smart ass, but for the sake of learning, maybe it does worth to mention that you can join up the string with the list, if the string is within a list, so you have the possibility to join different variable types in a list with the act +….. from a point of a noob’s(me) view it was not clear. anyway these videos are the most useful videos for learning pyhton basic on youtube… thx
*Subscribed*
Great tutorial…thanks :)
bucky ow im tired of that lets have it roastbeef! lol