10857/whenever-you-exit-python-is-all-memory-de-allocated
In java we have garbage collection and that took care of the alloted memory. What is the scenario with Python?
The answer here is no. The modules with circular references to other objects, or to objects referenced from global namespaces, aren’t always freed on exiting Python.
Plus, it is impossible to de-allocate portions of memory reserved by the C library.
A module is a file containing a ...READ MORE
Slicing is basically extracting particular set of ...READ MORE
can you give an example? READ MORE
You can use np.zeros(4,3) This will create a 4 ...READ MORE
suppose you have a string with a ...READ MORE
You can also use the random library's ...READ MORE
Syntax : list. count(value) Code: colors = ['red', 'green', ...READ MORE
can you give an example using a ...READ MORE
This is the way "continue" statement works! You ...READ MORE
if x == 'a': # Do the ...READ MORE
OR
Already have an account? Sign in.