# data[].attributes.body
# Imports go at the top

from microbit import *

import music

# Code in a 'while True:' loop repeats forever

while True:

if button_a.was_pressed():

display.clear()

music.play(music.POWER_UP)

elif button_b.was_pressed():

display.show(Image('00000:'

'09900:'

'99900:'

'09999:'

'09990'))

sleep(400)

display.show(Image.DUCK)

sleep(400)

display.show(Image('00000:'

'09900:'

'99900:'

'09999:'

'09990'))

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

while True:

display.show(Image.SKULL)

sleep(400)

display.show(Image.SILLY)

sleep(400)

music.set_tempo(bpm=120)

music.play(music.PUNCHLINE)

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

while True:

display.show(Image.HEART)

sleep(400)

display.show(Image.HEART_SMALL)

sleep(400)

music.set_tempo(bpm=70)

music.play(music.PYTHON)

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

while True:

display.show(Image.HEART)

music.play(music.BA_DING)

display.show(Image.HEART_SMALL)

music.play(music.BA_DING)

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

while True:

display.show(Image.MEH)

sleep(400)

display.show(Image.GIRAFFE)

sleep(400)

music.set_tempo(bpm=100)

music.play(music.ODE)

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

while True:

display.slow(Image.HEART)

sleep(600)

display.show(Image.HEART)

sleep(600)

music.play(music.BA_DING)

music.set_tempo(bpm=200)

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

while True:

display.show(Image.HEART)

sleep(100)

display.show(Image.YES)

sleep(100)

music.play(music.NYAN)

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

while True:

display.show(Image.HEART)

sleep(600)

display.show(Image.HEART_SMALL)

sleep(600)

music.set_tempo(bpm=120)

music.play(music.ODE)

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

while True:

display.show(Image.HEART_SMALL)

sleep(1000)

display.show(Image.DUCK)

sleep(1000)

music.set_tempo(bpm=120)

music.play(music.JUMP_UP)

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

while True:

display.show(Image.DUCK)

sleep(500)

display.show(Image.HEART_SMALL)

sleep(500)

display.show(Image.HEART)

sleep(500)

music.set_tempo(bpm=120)

music.play(music.ENTERTAINER)

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

while True:

display.show(Image.ANGRY)

sleep(300)

display.show(Image.HAPPY)

sleep(300)

music.set_tempo(bpm=200)

music.play(music.FUNK)

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

while True:

display.show(Image.GIRAFFE)

sleep(200)

display.show(Image.HEART)

sleep(200)

display.show(Image.DUCK)

sleep(200)

music.set_tempo(bpm=200)

music.play(music.FUNK)

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

while True:

display.show(Image.SKULL)

sleep(1000)

display.show(Image.PACMAN)

sleep(1000)

music.set_tempo(bpm=120)

music.play(music.FUNERAL)

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

while True:

display.show(Image.HEART)

sleep(1000)

display.show(Image.GIRAFFE)

sleep(1000)

music.set_tempo(bpm=120)

music.play(music.NYAN)

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

while True:

display.show(Image.GIRAFFE)

sleep(1000)

display.show(Image.DUCK)

sleep(1000)

music.set_tempo(bpm=250)

music.play(music.NYAN)

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

#while True:

display.show(Image.DUCK)

sleep(1300)

display.show(Image.SMILE)

sleep(400)

display.show(Image.GIRAFFE)

sleep(400)

music.play(music.NYAN)

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

while True:

display.show(Image.YES)

sleep(1000)

display.show(Image.SMILE)

sleep(1000)

music.set_tempo(bpm=120)

music.play(music.FUNK)

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

while True:

display.show(Image.PACMAN)

sleep(1000)

display.show(Image.GIRAFFE)

sleep(1000)

display.show(Image.HAPPY)

sleep(1000)

display.show(Image.DUCK)

sleep(1000)

music.set_tempo(bpm=200)

music.play(music.NYAN)

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

while True:

display.show(Image.HEART)

sleep(400)

display.show(Image.DUCK)

sleep(400)

display.show(Image.FABULOUS)

sleep(400)

music.set_tempo(bpm=120)

music.play(music.PUNCHLINE)

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

while True:

display.show(Image.DUCK)

sleep(200)

display.show(Image.GHOST)

sleep(400)

display.show(Image.DUCK)

sleep(400)

music.play(music.NYAN)

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

while True:

display.show(Image.HEART_SMALL)

sleep(400)

display.show(Image.HEART)

sleep(400)

music.set_tempo(bpm=200)

music.play(music.WEDDING)

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

while True:

display.show(Image.HEART)

music.play(music.BA_DING)

display.show(Image.HEART_SMALL)

music.play(music.BA_DING)

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

while True:

display.show(Image.HEART_SMALL)

#sleep(1000)

display.show(Image.HEART)

#sleep(1000)

music.set_tempo(bpm=200)

music.play(music.ENTERTAINER)

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

while True:

display.show(Image.DUCK)

sleep(600)

display.show(Image.HEART)

sleep(600)

music.set_tempo(bpm=120)

music.play(music.POWER_UP)

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

while True:

display.show(Image.ANGRY)

sleep(600)

display.show(Image.SURPRISED)

sleep(600)

music.play(music.BA_DING)

music.set_tempo(bpm=120)

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

while True:

display.show(Image.HEART_SMALL)

sleep(100)

display.show(Image.HEART)

sleep(100)

music.play(music.JUMP_UP)

# data[].attributes.body
# Imports go at the top

from microbit import *

import music

while True:

display.show(Image.HEART_SMALL)

sleep(200)

display.show(Image.HEART)

music.play(music.WEDDING)

music.set_tempo(bpm=200)