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...


Is del the same as remove()? What are they?



Is del the same as remove()? What are they?..

Answer / Ranbir Kumar

del and remove() are not exactly the same. The del keyword in Python is used to delete objects (like variables, elements from a list or tuple), while the remove() function is used to remove an object (an element) from a list.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

What does r in a circle mean?

1 Answers  


Can you use r in python?

1 Answers  


Do you know what is lambda in python?

1 Answers  


How do I sort a list in python 3?

1 Answers  


Explain Python's data types.

2 Answers  


How many kinds of sequences are supported by python? What are they?

1 Answers  


Difference between mutable and immutable in python?

1 Answers  


Is python shell scripting?

1 Answers  


What is a class definition in python?

1 Answers  


Is python good for microservices?

1 Answers  


Can python be used for web client and web server side programming?

1 Answers  


What is sphinx python?

1 Answers  


Categories