Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between `del` and `remove()` in Python?



What is the difference between `del` and `remove()` in Python?..

Answer / nashiinformaticssolutions

del` is used to delete a variable or an item at a specific index in a list. `remove()` is used to remove the first occurrence of a value from a list.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

Explain python list comprehension?

0 Answers  


How many keywords are there in python?

0 Answers  


What is a static method in python?

0 Answers  


What are the use of sets in python?

0 Answers  


Can we override a constructor?

0 Answers  


Python documentation is called?

0 Answers  


How to pass optional or keyword parameters from one function to another in python?

0 Answers  


What is the most "pythonic" way to iterate over a list in chunks?

0 Answers  


How do I find out the Python version in CMD?

2 Answers  


Why and when do you use generators in python?

0 Answers  


What is dynamic typing in python?

0 Answers  


What data types does python support?

0 Answers  


Categories