From 053115b58e6d4906264c28998692d3e97a8391ca Mon Sep 17 00:00:00 2001 From: ogatalars Date: Tue, 11 Jun 2024 19:59:44 -0300 Subject: [PATCH] feat: new exercises --- fundamentals/python/square.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 fundamentals/python/square.py diff --git a/fundamentals/python/square.py b/fundamentals/python/square.py new file mode 100644 index 0000000..6de28a1 --- /dev/null +++ b/fundamentals/python/square.py @@ -0,0 +1,4 @@ +# Now you have to write a function that takes an argument and returns the square of it. + +def square(n): + return n * n # return the square of n \ No newline at end of file