week = [8,4,7,6,6,4,6]

sum(week)

zoj = [week[0],week[2], week[4]]

print(zoj)

```
[8, 7, 6]
```

fard = [week[1], week[3], week[5]]

print(fard)

```
[4, 6, 4]
```

sum(zoj)

sum(fard)

e = sum(week)/len(week)
round(e,2)

for x in week:
print(x)

```
8
4
7
6
6
4
6
```

for x in week:
print(x * 10)

```
80
40
70
60
60
40
60
```

for i in range(7):
print(i)

```
0
1
2
3
4
5
6
```

for i in range(0,7):
print(i)

```
0
1
2
3
4
5
6
```

for i in range(7):
print('Day No.', i, 'of the week')

```
Day No. 0 of the week
Day No. 1 of the week
Day No. 2 of the week
Day No. 3 of the week
Day No. 4 of the week
Day No. 5 of the week
Day No. 6 of the week
```

for i in range(7):
print('Day No.', i, 'of the week: ', week[i], 'hours')

```
Day No. 0 of the week: 8 hours
Day No. 1 of the week: 4 hours
Day No. 2 of the week: 7 hours
Day No. 3 of the week: 6 hours
Day No. 4 of the week: 6 hours
Day No. 5 of the week: 4 hours
Day No. 6 of the week: 6 hours
```

for i in range(7):
print('Day No.', i, 'of the week: ', week[i], 'hours & ', week[i]*10, "Toomans")

```
Day No. 0 of the week: 8 hours & 80 Toomans
Day No. 1 of the week: 4 hours & 40 Toomans
Day No. 2 of the week: 7 hours & 70 Toomans
Day No. 3 of the week: 6 hours & 60 Toomans
Day No. 4 of the week: 6 hours & 60 Toomans
Day No. 5 of the week: 4 hours & 40 Toomans
Day No. 6 of the week: 6 hours & 60 Toomans
```

for i in range(7):
if i > 0:
print('Day No.', i, 'of the week: ', week[i], 'hours & ', week[i]*10, "Toomans")
else:
print('Day No.', i, 'of the week: ', week[i], 'hours & ', week[i]*15, "Toomans")

```
Day No. 0 of the week: 8 hours & 120 Toomans
Day No. 1 of the week: 4 hours & 40 Toomans
Day No. 2 of the week: 7 hours & 70 Toomans
Day No. 3 of the week: 6 hours & 60 Toomans
Day No. 4 of the week: 6 hours & 60 Toomans
Day No. 5 of the week: 4 hours & 40 Toomans
Day No. 6 of the week: 6 hours & 60 Toomans
```

for i in range(7):
if i == 0:
print (i ,"sefr")
else:
print (i)

```
0 sefr
1
2
3
4
5
6
```

for i in range(7):
if i == 0:
print(week[i] * 15)
else:
print(week[i]*10)

```
120
40
70
60
60
40
60
```

total = 0
for i in range(7):
if i == 0:
total += week[i]*15
print("(+",week[i]*15,")", total)
else:
total += week[i]*10
print("(+",week[i]*10,")", total)
print("----")
print(total)

```
(+ 120 ) 120
(+ 40 ) 160
(+ 70 ) 230
(+ 60 ) 290
(+ 60 ) 350
(+ 40 ) 390
(+ 60 ) 450
----
450
```

akhar = 0
for i in [-2, -1]:
akhar += week[i]*10
print("(+",week[i]*10,")", akhar)
print("----")
print(akhar)

```
(+ 40 ) 40
(+ 60 ) 100
----
100
```

Q6 = round(akhar/total*100,3)
print(Q6)

```
22.222
```