How does java realize New year's greetings?
Today, the editor will share with you the relevant knowledge points about how java can achieve New year's greetings. The content is detailed and the logic is clear. I believe most people still know too much about this knowledge, so share this article for your reference. I hope you can get something after reading this article. Let's take a look at it.
From datetime import datetime
Import pprint
Pp = pprint.PrettyPrinter ()
Def Happy_New_year ():
Now = datetime.now ()
This_year = now.year
Day = 1
While this_year = = 2018:
Pp.pprint ("Day {} 2018: health, Progress!" .format (day))
Day + = 1
If day > 365:
Exit (1)
If _ name__ = = "_ _ main__":
Happy_New_year ()
These are all the contents of the article "how to achieve New year's greetings in java". Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.