Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hey there, I need some assistance with the following assignment. I need to create a credit card using classes. There is some instruction on how
Hey there, I need some assistance with the following assignment. I need to create a credit card using classes. There is some instruction on how what needs to be done as well as 2 lines of codes already written.
You will be creating a credit card class for each of the following "lssuing Networks" Visa, Mas- terCard, American Express, and Discover. Give each module as well as the class it contains the appropriate name of the "lssuing Network" (e.g. Visa.py contains the Visa class) You will notice that much of the data and operations is similar or the same across the classes, but there is enough variance to warrant individual class definitions (you might consider how you could abstract the common elements, though) Data Each card has the following information. All monetary values are in USD and are to be rounded to two decimal places (cents). Card Number 4 sets of 4 numbers for Visa, MasterCard, and Discover Ex: 4716 5944 7443 4320 Sets of 4,6,5 numbers respectively for American Express Ex: 3744 294625 08606Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started