<filename>Homework/Homework1/1_7.py
# -*- coding: utf-8 -*-

print (4 * (1- 1/3 + 1/5 - 1/7 + 1/9 - 1/11));
print (4 * (1- 1/3 + 1/5 - 1/7 + 1/9 - 1/11 + 1/13 - 1/15));

<filename>Homework/Homework1/1_7.py
# -*- coding: utf-8 -*-

print (4 * (1- 1/3 + 1/5 - 1/7 + 1/9 - 1/11));
print (4 * (1- 1/3 + 1/5 - 1/7 + 1/9 - 1/11 + 1/13 - 1/15));

# -*- coding: utf-8 -*-