Question: 1 Introduction Your assignment is to write a Mayan date calculator. The input will be provided through command line arguments. There will be three operations,

 1 Introduction Your assignment is to write a Mayan date calculator.
The input will be provided through command line arguments. There will be
three operations, with each operation specified as the first command line argument

1 Introduction Your assignment is to write a Mayan date calculator. The input will be provided through command line arguments. There will be three operations, with each operation specified as the first command line argument and different operands as the remaining command-line arguments. You will be designing your own classes for Mayan dates. 2 Program Specification Your Mayan date calculator will accept input through command-line arguments. There will be five operations, with each operation specified as the first command-line argument and different operands as the remaining command-line arguments. python mayancalc.py mtd python mayancalc.py m-d python mayancalc.py m-m The first operation m+d takes a Mayan date and a number of days. The operation adds the number of days to the Mayan date to produce a Mayan date as output. The second operation m-d subtracts the number of days from the Mayan date to produce a Mayan date as output. The third operation m-m calculates the number of days between two Mayan dates. 3 Mayan Dates The Mayans used a dating system where one day was called a "k'in". Twenty k'in was called a "winal, and so on. The following table shows the different Mayan time units in the Long Count Mayan calendar. Please see the Wikipedia entry for "Maya Calendar" for more information, if you desire You may not need the information in the Days column

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!