def find_odd_numbers(n):
    odd_numbers = [i for i in range(1, 2 * n, 2)]
    return odd_numbers

# Example usage:
n = int(input("Enter a number 'n' to find first 'n' odd numbers: "))
result = find_odd_numbers(n)
print(f"First {n} odd numbers are: {result}")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: