(self)
| 34 | print("Branded", a) |
| 35 | |
| 36 | def calculateCharge(self): |
| 37 | a = 0 |
| 38 | if self.Type_of_cloth == "Cotton": |
| 39 | a = 50.0 |
| 40 | elif self.Type_of_cloth == "Silk": |
| 41 | a = 30.0 |
| 42 | elif self.Type_of_cloth == "Woolen": |
| 43 | a = 90.0 |
| 44 | elif self.Type_of_cloth == "Polyester": |
| 45 | a = 20.0 |
| 46 | if self.Branded == 1: |
| 47 | a = 1.5 * (a) |
| 48 | else: |
| 49 | pass |
| 50 | if self.Season == "Winter": |
| 51 | a = 0.5 * a |
| 52 | else: |
| 53 | a = 2 * a |
| 54 | print(a) |
| 55 | return a |
| 56 | |
| 57 | def finalDetails(self): |
| 58 | self.customerDetails() |