Question: Python Programming : Coin Collecting Having a tough homework need help Python Programming Question 1: Coin Collection Management: Write a program that manages a coin

Python Programming : Coin Collecting

Having a tough homework need help

Python Programming : Coin Collecting Having a tough homework need help PythonProgramming Question 1: Coin Collection Management: Write a program that manages acoin collection. This program prompts the user for the name of a.col file. This program should be able to load any .col fileand require that the file extension -i.e the last 4letters of thefile be .col. The file .col is consider a valid file. Ifthefile exists the program loads in the coins from the collection storedin the file. A Coin Collection allows duplicate entries on each coinattribute A Coin has the following attributes (fields and must be programmedas a class 1) Grade, a string, which must be one ofthe following "Mint Fine "Good", "Fair", "Poor". Letter case is irrelevant here,e.g. "Mint" 2) Value, in US dollars, stored as a float, e.g.,1.52 3) Year, the year the coin was minted, stored and treatedas an integer, like 1962 4) Country of Production, which is stored

Python Programming

Question 1: Coin Collection Management: Write a program that manages a coin collection. This program prompts the user for the name of a .col file. This program should be able to load any .col file and require that the file extension -i.e the last 4letters of the file be .col. The file .col is consider a valid file. Ifthe file exists the program loads in the coins from the collection stored in the file. A Coin Collection allows duplicate entries on each coin attribute A Coin has the following attributes (fields and must be programmed as a class 1) Grade, a string, which must be one of the following "Mint Fine "Good", "Fair", "Poor". Letter case is irrelevant here, e.g. "Mint" 2) Value, in US dollars, stored as a float, e.g., 1.52 3) Year, the year the coin was minted, stored and treated as an integer, like 1962 4) Country of Production, which is stored as a string can be any string, like "USA" 5) Mint, which is the specific manufacture of the coin, which is stored as a string and can be any string, like "Denver The program will prompt the user repeatedly for a command. Should the user enter an invalid command, the program should re-prompt the user. Commands are case-insensitive. The program supports several operations: 1) Insert Adds a new Coin entry into the Collection a. Grades must be one of the four options, "Mint", "Fine", "Good", "Fair", "Poor" b. Value must be 0 c. Year must be 0 Question 1: Coin Collection Management: Write a program that manages a coin collection. This program prompts the user for the name of a .col file. This program should be able to load any .col file and require that the file extension -i.e the last 4letters of the file be .col. The file .col is consider a valid file. Ifthe file exists the program loads in the coins from the collection stored in the file. A Coin Collection allows duplicate entries on each coin attribute A Coin has the following attributes (fields and must be programmed as a class 1) Grade, a string, which must be one of the following "Mint Fine "Good", "Fair", "Poor". Letter case is irrelevant here, e.g. "Mint" 2) Value, in US dollars, stored as a float, e.g., 1.52 3) Year, the year the coin was minted, stored and treated as an integer, like 1962 4) Country of Production, which is stored as a string can be any string, like "USA" 5) Mint, which is the specific manufacture of the coin, which is stored as a string and can be any string, like "Denver The program will prompt the user repeatedly for a command. Should the user enter an invalid command, the program should re-prompt the user. Commands are case-insensitive. The program supports several operations: 1) Insert Adds a new Coin entry into the Collection a. Grades must be one of the four options, "Mint", "Fine", "Good", "Fair", "Poor" b. Value must be 0 c. Year must be 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!