n = int(input("Введите число>>"))
o = 1
m = list(range(n))
for i in range(n):
if i % 7 == 0:
o += m[i]
print(o)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
n = int(input("Введите число>>"))
o = 1
m = list(range(n))
for i in range(n):
if i % 7 == 0:
o += m[i]
print(o)