-
Notifications
You must be signed in to change notification settings - Fork 0
/
acad.py
52 lines (42 loc) · 1.05 KB
/
acad.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
from main import cat1,cat2
import ARRAY
def MATHS(arr,n=3):
marks=ARRAY.Arr()
for i in arr:
marks.append([i[0],i[1],i[n]])
return marks
def BEEE(arr,n=4):
marks=ARRAY.Arr()
for i in arr:
marks.append([i[0],i[1],i[n]])
return marks
def PHY(arr,n=5):
marks=ARRAY.Arr()
for i in arr:
marks.append([i[0],i[1],i[n]])
return marks
def PDS(arr,n=6):
marks=ARRAY.Arr()
for i in arr:
marks.append([i[0],i[1],i[n]])
return marks
def HSE(arr,n=7):
marks=ARRAY.Arr()
for i in arr:
marks.append([i[0],i[1],i[n]])
return marks
def EVS(arr,n=8):
marks=ARRAY.Arr()
for i in arr:
marks.append([i[0],i[1],i[n]])
return marks
def CAT1(arr=cat1):
marks=ARRAY.Arr()
for i in arr:
marks.append([i[0],i[1],i[3],i[4],i[5],i[6],i[7],i[8]])
return marks
def CAT2(arr=cat2):
marks=ARRAY.Arr()
for i in arr:
marks.append([i[0],i[1],i[3],i[4],i[5],i[6],i[7],i[8]])
return marks