This Python script demonstrates basic calculations and string manipulation
The script performs the following tasks:
- Calculates yearly savings based on monthly savings and the number of months.
- Prints the type of the calculated yearly savings.
- Doubles a given introductory string and prints the result.
- Make sure you have Python installed on your system.
- Run the script using a Python interpreter.
- Check the console for the output.
monthly_savings
: Variable storing the amount of savings per month.num_months
: Variable storing the number of months.intro
: Variable storing an introductory string.year_savings
: Variable storing the calculated yearly savings.doubleintro
: Variable storing the doubled introductory string.