b = 1 for a in range(10): print(a) b *= a print(b)
int b = 1; for (int a=0; a<10; a++) { System.out.println(a); b = b * a; System.out.println(b); }