aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammad S Anwar <Mohammad.Anwar@yahoo.com>2021-04-13 15:51:33 +0100
committerGitHub <noreply@github.com>2021-04-13 15:51:33 +0100
commit22db2ffa3ebbd250ba513046bf01f456717716ef (patch)
tree966fa7d544d964877d4be856fa92995f4eaabb84
parente6e46a3baff51c46b2b21d2820b3f0bb6968a82f (diff)
parentf1dcaf2bb7eb1ec3b002a7cd10ec6763a4d147d8 (diff)
downloadperlweeklychallenge-club-22db2ffa3ebbd250ba513046bf01f456717716ef.tar.gz
perlweeklychallenge-club-22db2ffa3ebbd250ba513046bf01f456717716ef.tar.bz2
perlweeklychallenge-club-22db2ffa3ebbd250ba513046bf01f456717716ef.zip
Merge pull request #3881 from stuart-little/stuart-little_108_python
1st commit on 108_python
-rwxr-xr-xchallenge-108/stuart-little/python/ch-1.py6
-rwxr-xr-xchallenge-108/stuart-little/python/ch-2.py5
2 files changed, 11 insertions, 0 deletions
diff --git a/challenge-108/stuart-little/python/ch-1.py b/challenge-108/stuart-little/python/ch-1.py
new file mode 100755
index 0000000000..07d799e96e
--- /dev/null
+++ b/challenge-108/stuart-little/python/ch-1.py
@@ -0,0 +1,6 @@
+#!/usr/bin/env python
+
+# run <script>
+
+x=5
+print(f"The variable x has value {x} and address {id(x)}.")
diff --git a/challenge-108/stuart-little/python/ch-2.py b/challenge-108/stuart-little/python/ch-2.py
new file mode 100755
index 0000000000..5a89559daa
--- /dev/null
+++ b/challenge-108/stuart-little/python/ch-2.py
@@ -0,0 +1,5 @@
+#!/usr/bin/env python
+
+# run <script>
+
+print("1, 1, 2, 5, 15, 52, 203, 877, 4140, 21147")