Skip to content

Instantly share code, notes, and snippets.

@XChrisUnknownX
Created May 30, 2018 01:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save XChrisUnknownX/fdb680ccd4b9208716524f8726ea2e12 to your computer and use it in GitHub Desktop.
Save XChrisUnknownX/fdb680ccd4b9208716524f8726ea2e12 to your computer and use it in GitHub Desktop.
Silly simple sing along sung to the tune of 99 bottles of beer on the wall. You can edit it depending on your preferences (boyfriend/girlfriend, word choice.)
import time
count = 10
print("I created this sing along program for my girlfriend, because the love never ends.")
love = open("ILoveMyGirlfriend.txt", "w")
love.write("""I created this sing along program for my girlfriend, because there's a lot of love.
""")
time.sleep(5)
love.close()
time.sleep(3)
while True:
bot = "bottles"
if count > 1:
bot = "bottles"
elif count == 1:
bot = "bottle"
elif count == 0:
bot = "bottles"
else:
pass
countstring = str(count)
if count > 0:
love = open("ILoveMyGirlfriend.txt", "a")
love.write(countstring + """ """ + bot + """ of love on the wall,
""")
print(countstring + """ """ + bot + """ of love on the wall,
""")
time.sleep(2.2)
print(countstring + """ """ + bot + """ of love.
""")
love.write(countstring + """ """ + bot + """ of love.
""")
time.sleep(1.7)
count -= 1
bot = "bottles"
if count > 1:
bot = "bottles"
elif count == 1:
bot = "bottle"
elif count == 0:
bot = "bottles"
else:
pass
countstring = str(count)
print("""Take one down,
""")
love.write("""Take one down,
""")
time.sleep(1.09)
print("""pass it around!
""")
love.write("""pass it around!
""")
time.sleep(1.41)
print(countstring + """ """ + bot + """ of love on the wall!
""")
love.write(countstring + """ """ + bot + """ of love on the wall!
""")
time.sleep(2.34)
love.close()
continue
elif count == 0:
love = open("ILoveMyGirlfriend.txt", "a")
print("""No more bottles of love on the wall!
""")
love.write("""No more bottles of love on the wall!
""")
time.sleep(2.42)
print("""No more bottles of love!
""")
love.write("""No more bottles of love!
""")
time.sleep(2.10)
print("""But don't you frown,
""")
love.write("""But don't you frown,
""")
time.sleep(1.60)
print("""we'll turn this around!
""")
love.write("""we'll turn this around!
""")
time.sleep(1.64)
print("""I love you darling!
""")
love.write("""I love you darling!
""")
time.sleep(1.71)
print("""You make me tall!
""")
love.write("""You make me tall!
""")
love.close()
time.sleep(1.20)
exit()
else:
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment