3 ms·
I think Codingbat is a good place to begin/start with python, and it's also good for exercises. As they have an online interpreter, you get a definitive yes/no
by JeanPierre 16y ago
I think Codingbat is a good place to begin/start with python, and it's also good for exercises. As they have an online interpreter, you get a definitive yes/no answer, with elaboration where things go wrong. http://codingbat.com/python http://codingbat.com/python
- anthonyb 16y agoTheir interpreter seems to be broken. eg. for http://codingbat.com/prob/p126968 http://codingbat.com/prob/p126968 the following solution seems ok: def centered_average(nums): sum(nums[1:-1]) // (len(nums) - 2) but gives me an error: 'sum is not defined'. Also, all of their examples use two spaces, not four (the python standard)