polygon_vertex=[5,-7,4,2]polygon_side=['+','+','*','*'] multi_list = [[[0 for col in range(5)] for row in range(5)] for i in range(5)] def get_min_of_ Read More
p = [0, 10, 12, 15, 255, 1, 2] def store_bit_number(n): k = 1 n = n//2 while n != 0: k = k+1 n = n//2 return k s = [0, 0, 0, 0, 0, 0, 0, 0, 0]pos = [0 Read More
1 Using the existing applications to build software so that they could help and accelerate your work,but we also need build our own infrastucture, whi Read More
pos=[0]*5x=[0]*5 def place(t): for i in range(1,t): if (pos[i] == pos[t]): return False elif (abs(pos[i]-pos[t]) == abs(i-t)): return False return Tru Read More
sequence1 =['A', 'B', 'C', 'D', 'E']sequence2 =['A', 'E','C', 'D', 'F'] m = [[0]*10for i in range(1,10)]dir = [[0]*10for i in range(1,10)] def find_lo Read More
weight=[0,1,3,4,8]value=[0,4,3,2,5]c=9m = [[0]*10 for i in range(10)] def min(x,y): if x < y: return x else: return y def package(weight, value, n, to Read More