02.06 Module Two Project
02.06 Module Two Project
Directions
Now that you have an understanding of using functions and operations with numerical and non-
numerical data, it's time to show your instructor and yourself what you can do with them! You will use
the software development life cycle (SDLC) to create a working program of your choice that will perform
calculations with user input. Your program can include any Python skills and functions you have learned
up to this point.
Have your eye on a new gadget? A new game? Maybe some new clothes? Well, now's your chance to
create a program that calculates the total cost of three items on your wish list, including tax and
shipping.
2. Do your research. Find the online store(s) where you can purchase your wish list items and
record the price of each one.
3. Think about what user input is required for others to use your program.
4. Think about how you will write an equation to calculate the subtotal of your three items, the tax,
and the total purchase cost with tax and shipping. Note: Use 6.5% tax and a $5.99 flat-rate
shipping fee for your program.
5. The output must include the following: name of each item, item price, subtotal for items, total
amount of tax, shipping fee, and total purchase cost with tax and shipping.
Item Price
FIFA 21 Legends Edition $89.99
FIFA 2018 World Cup Collector’s Card Boxes $44.95
Lego Star Wars Death Star $499.95
FC Barcelona Third Jersey $156.45
Step Two: Design
It's time to design your program by writing pseudocode. Your outline must include the following
elements:
• Input statements
• Ask the user for at least three numeric values.
• Show proper use of the int() and float() functions.
• Calculations required to achieve correct output.
• Use proper order of operations.
• Use any appropriate math functions.
• Output statements
• Create clear and well organized output to share the data and results of the calculations.
• Show proper use of the str() function.
def main():
main()
#Daniel Romanov
def main():
cardsWC = input("How many FIFA 2018 World Cup Collector’s Card Boxes do you want?")
deathStar = input("How many Lego Star Wars Death Stars do you want?")
shipping = 5.99
print("Your Orders")
print(" ")
print("World Cup 2018 Panini Adrenalyn Box Card Set: $" + str(cardsWCA))
print("------------------------------------------------------------------------------------------")
print("")
main()
Program crashes
What are potential bugs that users may possibly
encounter if your program is expanded into a new
program in the future?