O Level Exam : Practical Question
📝 HTML
🎨 CSS
⚡ Java Script
a = int(input("Enter value of a: ")) b = int(input("Enter value of b: ")) found = False for i in range(a, b + 1): if i % 3 == 0 and i % 5 == 0: print(i) found = True if not found: print("No numbers found")
▶ Run Code
🖥 Output: