O Level Exam : Practical Question
📝 HTML
🎨 CSS
⚡ Java Script
start=int(input("Enter the Start value")) end=int(input("Enter the End value")) print("Prime numbers between ",start," and ",end) for a in range(start,end+1): n=a flag=True for b in range(2,(n//2)+1): if n%b==0: flag=False if flag==True and n>1: print(n,end=',')
▶ Run Code
🖥 Output: