This commit is contained in:
2025-09-18 19:22:01 +05:00
parent 9201b92bb8
commit de6e5abbc8
3 changed files with 45 additions and 0 deletions

13
Practica3/task3_rpo254.py Normal file
View File

@@ -0,0 +1,13 @@
a = int(input("start "))
b = int(input("end "))
for i in range(a,b+1):
if i % 3 == 0:
print("Fizz")
if i % 5 == 0:
print("Buzz")
if i % 3 == 0 and i % 5 == 0:
print("Fizz Buzz")
if i % 3 != 0 and i % 5 != 0:
print(i)