Answer:
# main function is defined
# the calculateAmount is called here
def main():
print("The new amount is: ", calculateAmount(), sep="")
# calculateAmount function that calculate the interest
def calculateAmount():
# the value of principal is p
p = 5000
# the value of rate is r
r= 2
# the time is t
t = 1
# the formula for finding interest
interest = (p * r * t) / 100
# the new amount is calculated
amount = p + interest
# the amount is returned
return amount
# a call that make main function begin execution
if __name__ == "__main__":
main()
Explanation:
The program is written in Python and it is well commented. A screenshot is attached showing program output
Being kind to others makes a significant impact on your life and the people you are being kind towards. Kindness puts a smile on other peoples faces, and the world without it would be very different. Even though their are a lot of people who are not kind throughout this world, if kindness was outlawed, their would still be a significant impact on our earth as it is today. For example, it would change the way people do business and it would be much harder to socialize. Kindness is way more important than we make it out to be. Their is always an opportunity to be kind wherever you are. Whether you’re online, next to someone, or just walking down a street, you can always find a chance to be kind if you really try.
I only answered this question with this sentence,just so I can ask more questions to get answers.
If wants to keep the chart but does not want it taking up space, he can move it to another sheet. Once he goes to the Move Chart tab, he should select New Sheet which will ask for a name of the new sheet. After doing this, the chart will be moved to a different sheet.