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

Can you explain this why are we getting an error here?

0 Answers  


What is Pickling and unpickling?

0 Answers  


What are Python's built-in data structures?

2 Answers  


What is the purpose of #!/usr/bin/pythonon the first line in the above code? Is there any advantage?

0 Answers  


What is range and xrange in python?

0 Answers  


What are python namespaces?

0 Answers  


Please explain when is the python decorator used?

0 Answers  


Why is __ init __ used in python?

0 Answers  


What is the use of break statement?

0 Answers  


Point out the use of help() function?

0 Answers  


What are the advantages of python?

0 Answers  


Why is that none of my threads are not running? How can I make it work?

0 Answers  


Categories