1 Matching Annotations
- Jan 2019
-
runestone.academy runestone.academy
-
def square(x): runningtotal = 0 for counter in range(x): runningtotal = runningtotal + x
return runningtotal
The indentation of return runningtotal is very important because I made a mistake by indenting it to 4 more spaces and the code wasn't working**
-