Date Conversion

  1. Convert a date in form "yyyy.mm.dd" to ROC style.
  2. Hint: You may need
    1. str.split()
    2. int() to convert texts into integers
    3. a list of month names

The program may run as follows.

Enter a date (yyyy.mm.dd): 2014.12.25
民國 103 年 十二 月 25 日