+ 3
Any module in python from which i can make good impression at the front of friends?
8 Respuestas
+ 6
bro if u wanna know about python then u should learn it first
+ 2
I am asking about module and u giving answer outside the topic😒
+ 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
+ 1
pandas i think..or sympy
0
numpy module
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)):
0
Who can answer this?
0
sympy module...just show them how to solve a matrix, quadric eq., solve calculas and many more..