3 ms·
That's GitHub flavor. You can also use back ticks and specify syntax highlighting, e.g: ```python from functools import partial def foo(a,b,i):
by AncientPC 14y ago
That's GitHub flavor. You can also use back ticks and specify syntax highlighting, e.g:
```python
from functools import partial
def foo(a,b,i):
if i >= a and i <= b:
return i**2
else:
return 0
print reduce(lambda x,y: x+y,map(partial(foo,3,7),xrange(1,10)))
```