pythontutor

<iframe src="http://pythontutor.com/iframe-embed.html#code=def+listSum(numbers%29%3A++if+not+numbers%3A++++return+0++else%3A++++(f,+rest%29+%3D+numbers++++return+f+%2B+listSum(rest%29myList+%3D+(1,+(2,+(3,+None%29%29%29total+%3D+listSum(myList%29&origin=opt-frontend.js&cumulative=false&heapPrimitives=false&textReferences=false&py=2&rawInputLstJSON=%5B%5D&curInstr=0&codeDivWidth=350&codeDivHeight=400&quot;

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s