aboutsummaryrefslogtreecommitdiff
path: root/examples/python/default.py
diff options
context:
space:
mode:
authorRubén Rincón Blanco <ruben@rinconblanco.es>2022-02-19 21:31:20 +0100
committerGitHub <noreply@github.com>2022-02-19 21:31:20 +0100
commit1589a14ebc2e4aa5849da8cc5389473397c15b93 (patch)
treed654c96357aea17d5b024adc47de66fda5f9248b /examples/python/default.py
parentc70eb9ca46c2c1b85a21109dab870a03b02e761e (diff)
downloadcompiler-explorer-1589a14ebc2e4aa5849da8cc5389473397c15b93.tar.gz
compiler-explorer-1589a14ebc2e4aa5849da8cc5389473397c15b93.zip
Changed Python default example to classical square (#3380)gh-2042
Diffstat (limited to 'examples/python/default.py')
-rw-r--r--examples/python/default.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/python/default.py b/examples/python/default.py
index 4f023ea04..dcdf0f52d 100644
--- a/examples/python/default.py
+++ b/examples/python/default.py
@@ -1,2 +1,2 @@
-def main():
- pass \ No newline at end of file
+def square(num):
+ return num * num