[Help me to solve this question]

Regarding the following problems, you are asked to make a pseudocode for calculating income tax with the following conditions:

Input:
Numeric in the form of numbers> = 0
If the input is something other than that then an error message will appear

Process :
Perform progressive calculations with a recursive iteration process.
Calculation provisions
<50,000,000 5%
50,000,000 - 250,000,000 15%
250,000,000 - 500,000,000 25%
> 500,000,000 30%

Example calculation for input numbers: 434,567,890
5% * 50,000,000 = 2,500,000
15% * 200,000,000 = 30,000,000
25% * 184567890 = 46,141,973
30% * 0 = 0
78,641,973

Output:
Calculation results

To solve this problem, you can use the following pseudocode:

1. Prompt the user to enter a numeric input.
2. Read the input and check if it is a valid number greater than or equal to 0. If not, display an error message and go back to step 1.
3. If the input is valid, check the value against the provided calculation provisions. Perform progressive calculations with a recursive iteration process.
4. Calculate the income tax based on the following conditions:
- If the input is less than 50,000,000, the tax rate is 5%.
- If the input is between 50,000,000 and 250,000,000, the tax rate is 15%.
- If the input is between 250,000,000 and 500,000,000, the tax rate is 25%.
- If the input is greater than 500,000,000, the tax rate is 30%.
- Use the appropriate tax rate to calculate the tax amount for each range.
5. Output the calculation results, which is the sum of all tax amounts calculated in step 4.

Here's an example of how you can implement the pseudocode in Python:

```python
def calculate_income_tax(income):
if income < 0:
print("Invalid input. Please enter a valid number greater than or equal to 0.")
return

if income < 50000000:
tax_amount = income * 0.05
elif income < 250000000:
tax_amount = 50000000 * 0.05 + calculate_income_tax(income - 50000000)
elif income < 500000000:
tax_amount = 50000000 * 0.05 + (income - 250000000) * 0.15
else:
tax_amount = 50000000 * 0.05 + 250000000 * 0.15 + calculate_income_tax(income - 500000000)

return tax_amount

# Example calculation for input number: 434,567,890
income = 434567890
tax = calculate_income_tax(income)
print("Calculation results:", tax)
```

In this example, the `calculate_income_tax()` function takes an `income` parameter and recursively calculates the tax amount based on the given conditions. The function returns the calculated tax amount. Finally, the tax amount is printed as the calculation results.