+ 3

Any module in python from which i can make good impression at the front of friends?

3rd Apr 2018, 3:02 AM
Tushar Programmer
Tushar Programmer - avatar
8 Answers
+ 6
bro if u wanna know about python then u should learn it first
3rd Apr 2018, 3:12 AM
VishnuDubeyMaster
VishnuDubeyMaster - avatar
+ 2
I am asking about module and u giving answer outside the topic😒
3rd Apr 2018, 3:15 AM
Tushar Programmer
Tushar Programmer - avatar
+ 1
You can try itertools.They have coolest functions. Or for some tricks you can checkout this. Hope this helps😊 https://www.sololearn.com/discuss/1187881/?ref=app
3rd Apr 2018, 5:03 PM
Mitali
Mitali - avatar
+ 1
pandas i think..or sympy
4th Apr 2018, 2:52 PM
Abhishek Verma
Abhishek Verma - avatar
0
numpy module
3rd Apr 2018, 4:35 AM
kaliki chandu
kaliki chandu - avatar
0
def insertionSort(lst): k = 1 while k < len(lst): x = lst.pop(k) insertInOrder(lst, k, x) k += 1 The above function insertionSort sorts (arranges the elements of) lst in ascending order, using the Insertion Sort algorithm. It relies on the function insertInOrder , which assumes that the first k elements of lst are already sorted and inserts x in the appropriate place among them: def insertInOrder(lst, k, x): while k >= 1 and lst[k-1] > x: k -= 1 lst.insert(k, x) Write a recursive version of insertionSort. Your function shouldn’t have any loops. def insertionSort(lst, n=len(lst)):
29th Apr 2018, 3:03 PM
Eric
0
Who can answer this?
29th Apr 2018, 3:03 PM
Eric
0
sympy module...just show them how to solve a matrix, quadric eq., solve calculas and many more..
29th Apr 2018, 3:05 PM
Abhishek Verma
Abhishek Verma - avatar