题解 | #挑7#
挑7
http://www.nowcoder.com/practice/ba241b85371c409ea01ac0aa1a8d957b
while True: try: n=int(input()) t=0 for i in range(7,n+1): if i%7 == 0&nbs***bsp;"7" in str(i): t+=1 print(t) except: break
挑7
http://www.nowcoder.com/practice/ba241b85371c409ea01ac0aa1a8d957b
while True: try: n=int(input()) t=0 for i in range(7,n+1): if i%7 == 0&nbs***bsp;"7" in str(i): t+=1 print(t) except: break
相关推荐