Giftbasket

Python > DataClass

DataClass is new Python Feature that havet experimented with so this is a hypotheical real world experiment

  1. Customer can add giftcards to their basket
  2. They can calculate total value of basket, based on the discount on each giftcard
  3. They have to pay the sum fo discounted value of each gifcard in their basket.