擅长:python、mysql、java
<pre><code>~$ python3 Test.py
Enter year: 2013
y = 2013
Traceback (most recent call last):
File "Test.py", line 51, in <module>
main()
File "Test.py", line 6, in main
a = y % 19
TypeError: not all arguments converted during string formatting
~$ python2.7 Test.py
Enter year: 2013
('y = ', 2013)
('a = ', 18)
('b = ', 20)
('c = ', 13)
('d = ', 5)
('e = ', 0)
('g = ', 6)
('h = ', 12)
('j = ', 3)
('k = ', 1)
('m = ', 0)
('r = ', 4)
('n = ', 4)
('p = ', 7)
('In ', 2013, 'Easter Sunday is on', 7)
April
</code></pre>