Calculating an expression

Report a typo

Write a program that takes an integer input for variable n and prints the result of the expression:

((n + 1) * n + 2) * n + 3

Sample Input 1:

3

Sample Output 1:

45
Write a program in Python 3
# put your python code here
___

Create a free account to access the full topic