Create 9. calculate the total value.py