chubin / pyphoon

:waning_gibbous_moon: ASCII Art Phase of the Moon (Python version)
http://wttr.in/Moon
MIT License
1.3k stars 95 forks source link

Use print() function in both Python 2 and Python 3 #22

Closed cclauss closed 5 years ago

cclauss commented 5 years ago

Legacy print statements are syntax errors in Python 3 but print() function works as expected in both Python 2 and Python 3.