result = []
for i in range(8000, 0, -1):
if i % 10 == 3 and i % 81 == 0:
result.append(i)
if len(result) == 6:
break
print(result)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
result = []
for i in range(8000, 0, -1):
if i % 10 == 3 and i % 81 == 0:
result.append(i)
if len(result) == 6:
break
print(result)