#38294: python


40957017O (unknown)

School : 國立臺灣師範大學
ID : 249669
IP address : [101.3.128.23]
Last Login :
2024-12-14 00:08:16
a147. Print it all | From: [150.117.167.160] | Post Date : 2023-11-10 20:03

while True:
  n = int(input())
  if n != 0:
    for i in range (1, n):
      if i % 7 != 0:
        print(i,end=' ')
      else:
        continue
    print()
  else:
    break
 
ZeroJudge Forum