Search

Create happy new year message on the linux terminal

We can use the following python script to generate happy new year using the diamond symbol on the linux terminal.


Save the file as happynewyear.py and execute it using



You should see the output as shown below.It can be stopped by pressing any key to exit,note that it will exit only after the display of the message.




1 comment:

  1. This comment has been removed by a blog administrator.

    ReplyDelete