Course Content

Introduction to Python

Challenge

# Task

Define a function called `my_first_function`

with three arguments `a`

, `b`

, and `c`

, that returns the following math expression: multiply `a`

by `3`

, multiply `b`

by `2`

, add these values with `c`

, and raise the obtained number to the second power.

For example, for 5, 4, 3, the function should return (5x3 + 4x2 + 3)² = 676.

Everything was clear?

Section 6. Chapter 4