ethanchewy / PythonBuddy

1st Online Python Editor With Live Syntax Checking and Execution
https://pythonbuddy.com
BSD 3-Clause "New" or "Revised" License
277 stars 84 forks source link

fix example #2 bug #19

Closed Vic-ST closed 6 years ago

Vic-ST commented 7 years ago

For example two, the example code is:

methods = []
for i in range(10):
    methodds.append(lambda x: x + i)
print methods[0](10)

Could you change it to this:

methods = []
for i in range(10):
    methods.append(lambda x: x + i)
print methods[0](10)
gurjy0t commented 6 years ago

Added a PR for this!

ethanchewy commented 6 years ago

This is intended to display the error on the side of the misspelling on line 3.

gurjy0t commented 6 years ago

Oops, sorry about that