How can I write this C code in Python?

hdiwan420 at speakeasy.net hdiwan420 at speakeasy.net
Sat Feb 2 20:18:42 EST 2002


Fred:
	Here you are:
for i in range (1..12):
  for j in range (1..12):
     print i*j,
  print

c at tech.usd253.org (Fred) writes:

>#include <stdio.h>
>int main (void)

>{

>int i;
>int j;

>for (i = 1; i < 13; i++)
>	{
>	for (j = 1; j < 13; j++)
>	  printf("%4d", i*j);
>	        printf("\n");
>   }
>return 0;
>}
-- 
Hasan =)
GPG KeyID: 0xBE42DCA6



More information about the Python-list mailing list