Quotes help make search much faster. Example: "Practice Makes Perfect"

Sunday, November 25, 2012

Codecademy: "Functions Calling Functions"


#sample solution


def one_good_turn(n):
    return n + 1
   
def deserves_another(n):
    return one_good_turn(n) + 2
   
print deserves_another(1)

2 comments:

  1. Hello, it's me
    I was wondering if after all these years you'd like to meet
    To go over everything
    They say that time's supposed to heal ya
    But I ain't done much healing

    Hello, can you hear me?
    I'm in California dreaming about who we used to be
    When we were younger and free
    I've forgotten how it felt before the world fell at our feet

    There's such a difference between us
    And a million miles

    Hello from the other side
    I must've called a thousand times
    To tell you I'm sorry
    For everything that I've done
    But when I call you never
    Seem to be home


    Read more: Adele - Hello Lyrics | MetroLyrics

    ReplyDelete
    Replies
    1. There's a fire starting in my heart
      Reaching a fever pitch, it's bringing me out the dark
      Finally I can see you crystal clear
      [Clean version:] Go 'head and sell me out and I'll lay your ship bare
      [Explicit version:] Go 'head and sell me out and I'll lay your shit bare
      See how I leave with every piece of you
      Don't underestimate the things that I will do

      There's a fire starting in my heart
      Reaching a fever pitch
      And it's bringing me out the dark

      The scars of your love remind me of us
      They keep me thinking that we almost had it all
      The scars of your love, they leave me breathless
      I can't help feeling
      We could have had it all
      (You're gonna wish you never had met me)
      Rolling in the deep
      (Tears are gonna fall, rolling in the deep)
      You had my heart inside of your hand
      (You're gonna wish you never had met me)
      And you played it, to the beat
      (Tears are gonna fall, rolling in the deep)

      Baby, I have no story to be told
      But I've heard one on you
      And I'm gonna make your head burn
      Think of me in the depths of your despair
      Make a home down there
      As mine sure won't be shared

      (You're gonna wish you never had met me)
      The scars of your love remind me of us
      (Tears are gonna fall, rolling in the deep)
      They keep me thinking that we almost had it all
      (You're gonna wish you never had met me)
      The scars of your love, they leave me breathless
      (Tears are gonna fall, rolling in the deep)
      I can't help feeling
      We could have had it all
      (You're gonna wish you never had met me)
      Rolling in the deep
      (Tears are gonna fall, rolling in the deep)
      You had my heart inside of your hand
      (You're gonna wish you never had met me)
      And you played it, to the beat
      (Tears are gonna fall, rolling in the deep)
      We could have had it all
      Rolling in the deep
      You had my heart inside of your hand
      But you played it, with a beating

      Throw your soul through every open door (woah)
      Count your blessings to find what you look for (woah)
      Turn my sorrow into treasured gold (woah)
      You'll pay me back in kind and reap just what you sow (woah)
      (You're gonna wish you never had met me)
      We could have had it all
      (Tears are gonna fall, rolling in the deep)
      We could have had it all
      (You're gonna wish you never had met me)
      It all, it all, it all
      (Tears are gonna fall, rolling in the deep)

      We could have had it all
      (You're gonna wish you never had met me)
      Rolling in the deep
      (Tears are gonna fall, rolling in the deep)
      You had my heart inside of your hand
      (You're gonna wish you never had met me)
      And you played it to the beat
      (Tears are gonna fall, rolling in the deep)

      We could have had it all
      (You're gonna wish you never had met me)
      Rolling in the deep
      (Tears are gonna fall, rolling in the deep)
      You had my heart inside of your hand
      (You're gonna wish you never had met me)

      But you played it
      You played it
      You played it
      You played it to the beat.

      Delete


This is an example of scrolling text using Javascript.

Popular Posts