摘要:
按值传递地址传递:应该明白只有这2种传递,下面讨论函数的按值传递#include #include int add_rtVal(int a,int b){ int c = 0; c = a + b; return c;}int main(int argc,char* argv[])... 阅读全文
摘要:
for i in range(1,10): for j in range(1,i+1): print (" ".join(["%d*%d=%d" %(j,i,i*j)]))[root@miller qinbin]# python test.py 1*1=11*2=2 2*2=41*3=3 2... 阅读全文