fork download
  1. """
  2. i = 0
  3. suma = 0
  4. ile = 0
  5. while i <= 100:
  6. if i%2 ==0:
  7. suma = suma + 1
  8. ile = ile + 1
  9. i = i + 1
  10. if i == 77:
  11. print("ok")
  12. print(suma, ile)
  13. if suma%2 == 0:
  14. print("suma jest parczysta")
  15. else:
  16. print("nie jest")
  17.  
  18.  
  19. for i in range(10):
  20. print(i)
  21.  
  22.  
  23. for i in range(START, STOP, KROK)
  24. print(i)
  25.  
  26. for i in range(10, 50, 5):
  27. print(i)
  28.  
  29.  
  30. for i in range(0, 21):
  31. if i%2 == 0:
  32. print(i)
  33.  
  34. for i in range(0, 100):
  35. if i%2 == 0 and i%10 != 4 and i%10 !=8:
  36. print(i)
  37. """
  38. for i in range(0, 32):
  39. print(i*i)
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
Success #stdin #stdout 0.03s 63436KB
stdin
Standard input is empty
stdout
0
1
4
9
16
25
36
49
64
81
100
121
144
169
196
225
256
289
324
361
400
441
484
529
576
625
676
729
784
841
900
961