- 博客(4)
- 资源 (2)
- 收藏
- 关注
原创 Collective Intelligence with Python 1
We have a base of data first recommendations.py critics={'Lisa Rose': {'Lady in the Water': 2.5, 'Snakes on a Plane': 3.5, 'Just My Luck': 3.0, 'Superman Returns': 3.5, 'You, Me and Dupree': 2.5,
2012-03-18 04:03:57 205
原创 编程之美-前言
一、写一个函数,返回一个数组中所有元素的值被第一个元素除的结果void DivArray(int *arr, int size) { for(int i = size; i >= 0; i--) arr[i] /= arr[0]; } 注意:1、要确保每个元素不能是0; 2、用降序,若是升序,则第一步完后arr[0]会变成1;
2012-03-18 00:53:57 235
原创 开始学习PYTHON
from mymodule import sayhi, __version__ sayhi() print('Version', __version__) int main() { return; }
2012-03-18 00:51:09 208
原创 Eclipse支持printf()函数吗?
我用Eclipse编程时,用到System.out.printf();函数,但每次都有错。然后我就换到了JCreator试下,却没错误。我想请问下,Eclipse支持printf()函数吗?还是需要再做什么修改?谢谢! 答:点widows->preference->java->compiler,把那个1.4调为6.0,然后刷新一下就可以了。。。
2010-03-31 23:44:00 2307
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人