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
Enumerate() method adds a counter to an ...READ MORE
This is the way "continue" statement works! You ...READ MORE
if x == 'a': # Do the ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.