Python:
while True:
try:
number = int(input("Введите число: "))
except:
break
_num = 1
while _num <= number:
if _num % 5 == 0:
print(_num)
_num += 1
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Python:
while True:
try:
number = int(input("Введите число: "))
except:
break
_num = 1
while _num <= number:
if _num % 5 == 0:
print(_num)
_num += 1