fork(65) download
  1. x = 0
  2. for i in range(1,1001):
  3. if i % 7 != 0 and i %3 !=0 and i %5 != 0:
  4. x = x+1
  5. print x
Success #stdin #stdout 0.01s 9016KB
stdin
Standard input is empty
stdout
457