def count_odd_even_numbers(n):
    odd_count = n
    even_count = n
    return odd_count, even_count

# Example usage:
num = int(input("Enter a number 'n' to count first 'n' odd and even numbers: "))
odd, even = count_odd_even_numbers(num)
print(f"Count of first {num} odd numbers: {odd}")
print(f"Count of first {num} even numbers: {even}")

Embed on website

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