51316/get-multiplication-table-number-using-list-comprehension
Hey @Neha, you can use something like this:
multiples = [n * 5 for n in range(1, 15)] print multiples
output: [5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70] Process finished with exit code 0
Hey. You can use requests and beautifulsoup ...READ MORE
For the class method when used as ...READ MORE
To count the number of elements of ...READ MORE
Yes it is possible. You can refer ...READ MORE
Hello @kartik, Inside a manager: def delete_everything(self): ...READ MORE
Hello, The len() function can be used with several different ...READ MORE
for word in read: <--- iterating ...READ MORE
items = [] items.append("apple") items.append("orange") items.append("banana") len(items) #use the ...READ MORE
n = list(range(10)) b = list(filter(lambda i:i%2!=0,n)) print(b) READ MORE
FWIW, the multiprocessing module has a nice interface for ...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.