You are viewing a single comment's thread from:

RE: PYTHON PROGRAMMING CLASS (THE BASICS) || DAY 1 - PYTHON LISTS COLLECTION | WEEK 2

in CampusConnect4 years ago

Great class... learnt alot
i started python programming some weeks back but i must say your notes are more explicit.
Please i hav a question


When you were using methods such as pop(), append(), remove(), insert() etc on the fruits list, you applied it as follows;

fruits.append('item')
fruits.insert('item')
etc

but when using the del method, you applied it as follows;
del fruits.


so why didn't you use the del method as the other methods forexample

fruits.del()

Sort:  
 4 years ago 

That's just the language syntax. You just have to master all the syntax to become a good programmer.

But you know sometimes we learn by trial and error, include the paranthesis "()" in the del method to see the error it will throw to you! Understand?

okay sir...
understood

on the other hand, i am setting up a curation team, i'd like you to be part of it, thats if you dont mind

 4 years ago 

Ok I wouldn't mind, am interested

Coin Marketplace

STEEM 0.04
TRX 0.32
JST 0.075
BTC 62642.23
ETH 1642.42
USDT 1.00
SBD 0.41