Happy New Year 2020 Program in Python



Happy New Year 2020 Program in Python





Code :-

import time
from random import randint

for i in range(1,45):
    print('')

s = ''

for i in range(1,1000):
    count = randint(1,100)
    while (count > 0):
        s += ' '
        count -= 1

    if (i % 10 ==0):
        print(s + 'Happy New Year 2020')
    else:
        print(s + '*')

    s = ''
    time.sleep(0.3)




Comments

  1. This comment has been removed by the author.

    ReplyDelete
  2. Great Article! I got too much information from this post. Thanks for sharing such a helpful article. Click here to more information about it

    ReplyDelete
  3. Machine Learning Projects for Final Year machine learning projects for final year

    Deep Learning Projects assist final year students with improving your applied Deep Learning skills rapidly while allowing you to investigate an intriguing point. Furthermore, you can include Deep Learning projects for final year into your portfolio, making it simpler to get a vocation, discover cool profession openings, and Deep Learning Projects for Final Year even arrange a more significant compensation.

    Python Training in Chennai Project Centers in Chennai

    ReplyDelete

  4. It’s great to come across a blog every once in a while that isn’t the same out of date rehashed material. Fantastic read.types of nat

    ReplyDelete
  5. Nice post for me and It is a very different blog than the usual ones I visit. From this post , I get more knowledge and I read a lot of interesting content here. Thanks for sharing a knowledgeable post. Hire Python Developers in USA

    ReplyDelete

Post a Comment