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

sum(week)

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

print(zoj)

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

print(fard)

sum(zoj)

sum(fard)

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

for x in week:
print(x)

for x in week:
print(x * 10)

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

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

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

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

for i in range(7):
print('Day No.', i, 'of the week: ', week[i], 'hours & ', week[i]*10, "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")

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

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

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)

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

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