a = [10,20,30,40,10,20,30,40,30,40,50,60]
how to remove only the duplicate values from this?
s = set(a)
c = list(s)
this will remove the duplicate values from the list.
Hi, it is pretty simple, to be ...READ MORE
To count the number of elements of ...READ MORE
Is there a function for this task ...READ MORE
1. By using max function -
highest = ...READ MORE
suppose you have a string with a ...READ MORE
if you google it you can find. ...READ MORE
can you give an example using a ...READ MORE
Python doesn't have a native array data ...READ MORE
colors = ['red', 'green', ...READ MORE
suppose you have a list with the ...READ MORE