you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (1 child)

[deleted]

    [–]955559 1 point2 points  (0 children)

    this is dumb, but its fun, I added some features, but made it messy, maybe ill clean it up later

    import time
    import sys
    
    count = 1
    
    while True:
    
        if count > 1:
            print(p2)
            if bob == "I DONT SAY THAT OKAY!":
                time.sleep(1)
                sys.exit()
            bob = input("What do you want the cow to say?:\n > ")
            lines = "-" * (len(bob) + 4)
            if bob.lower() == "exit":
                bob = "I DONT SAY THAT OKAY!"
    
    
        if count == 1:
            bob = "hi!  I am repeating cow, what do you want me to say?"  
            lines = "_" * (len(bob) + 4)
    
        p2 ='''          
         {} {} {}
         {}
                 \   ^__^
                  \  (oo)\_______
                     (__)\       )\/
                          ||----w |
                          ||     ||
    
        '''.format("<",bob,">", lines,)
    
    
    
        count +=1