Differences between revisions 1 and 13 (spanning 12 versions)
Revision 1 as of 2006-04-27 16:35:14
Size: 40
Editor: yongshunz
Comment:
Revision 13 as of 2009-12-25 07:09:52
Size: 372
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
==Q:怎么样才能写成++x,x++那样 == Q:怎么样才能写成++x,x++那样 ==
''' 顺便说一句,下面程序里的行号并不是程序的一部分,任何与 BASIC 类似的东西都是站不住脚的 '''

{{{
      1 a=0
      2 while a<100:
      3 a=a+1
      4 print a
}}}
 . 这样看起来可以个C中的
{{{
   1 for(i=0;i<100;i++)
   2 {printf("%d",i);}

}}}
  一样

Q:怎么样才能写成++x,x++那样

顺便说一句,下面程序里的行号并不是程序的一部分,任何与 BASIC 类似的东西都是站不住脚的

      1 a=0
      2 while a<100:
      3     a=a+1
      4     print a
  • 这样看起来可以个C中的

   1 for(i=0;i<100;i++)
   2 {printf("%d",i);}
  • 一样

PyIAQ/Q4 (last edited 2009-12-25 07:09:52 by localhost)