Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2006-04-27 16:35:14
Size: 40
Editor: yongshunz
Comment:
Revision 4 as of 2006-04-27 16:42:57
Size: 236
Editor: yongshunz
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
==Q:怎么样才能写成++x,x++那样 ==Q:怎么样才能写成++x,x++那样==


---- /!\ '''Edit conflict - other version:''' ----
  a=0
  b=0
  while a<100:
  a,b=b,a+1
  print b

  这样看起来可以个C中的
  for(i=0;i<100;i++)
  print i
  一样

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


/!\ Edit conflict - other version:


  • a=0 b=0

    while a<100: a,b=b,a+1 print b 这样看起来可以个C中的

    for(i=0;i<100;i++) print i 一样

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