Skip to content

Commit

Permalink
s/i/index/ in the for loop
Browse files Browse the repository at this point in the history
  • Loading branch information
oylenshpeegul authored and initpy committed Nov 27, 2012
1 parent f1d9fca commit 761c820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions.rst
Expand Up @@ -234,7 +234,7 @@ A function with a result variable
}
func main() {
for index := -2.0; index <= 10; i++ {
for index := -2.0; index <= 10; index++ {
squareroot, possible := MySqrt(index)
if possible {
fmt.Printf("The square root of %f is %f\n", index, squareroot)
Expand Down

0 comments on commit 761c820

Please sign in to comment.