Find Prime Numbers

Medium

📝 Description

Find all prime numbers in a given range

Input Format

Two space-separated integers (start and end)

Output Format

List of prime numbers in the range

Constraints

1 ≤ start < end ≤ 10000

🔍 Sample Input

10 30
            

✅ Sample Output

11 13 17 19 23 29
            

Code Editor

Please login to run and submit code.

Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run