Boston Python Workshop 6/Friday/CodingBat Using Codingbat: Difference between revisions
Content added Content deleted
imported>Jesstess No edit summary |
imported>Jesstess No edit summary |
||
Line 37: | Line 37: | ||
Let's add some code. The '''function signature''' (the <code>def sumTwoNumbers(first, second):</code> part) has already been written for you. You'll write the rest of the function -- remember to indent everything inside the function! |
Let's add some code. The '''function signature''' (the <code>def sumTwoNumbers(first, second):</code> part) has already been written for you. You'll write the rest of the function -- remember to indent everything inside the function, and remember to <code>return</code> your result instead of <code>print</code>ing it! |
||