Stack Data Structure in Python

Do you know what programming paradigms are and why they matter Programming paradigms are ways of organizing and structuring code, data, and behavior. They can influence how you think about problems, design solutions, and write code. In this article, you will learn about some of the programming paradigm trends that you should know as a software developer, such as functional, reactive, logic, object-oriented, functional reactive, and aspect-oriented programming. How do you use these paradigms in your projects? What are the benefits and challenges of each one

# Python3 program to find compound
# interest for given values.


def compound_interest(principal, rate, time):

	# Calculates compound interest
	Amount = principal * (pow((1 + rate / 100), time))
	CI = Amount - principal
	print("Compound interest is", CI)


# Driver Code
compound_interest(10000, 10.25, 5)


Posted

in

by

Tags: