aboutsummaryrefslogtreecommitdiff
path: root/challenge-239/eric-cheung/python/ch-1.py
diff options
context:
space:
mode:
author冯昶 <fengchang@novel-supertv.com>2023-10-23 15:13:49 +0800
committer冯昶 <fengchang@novel-supertv.com>2023-10-23 15:13:49 +0800
commit595d92e7e979a5c6d56f128b0c2afe5ea84afda2 (patch)
tree3d1398df34ec1afee608634b4ccf41d22fccf757 /challenge-239/eric-cheung/python/ch-1.py
parentf1bd3bd0a86630b6d6446edc68ff5035980bec0f (diff)
parent67310476fd1daa9d74365ca666f4f6d9a0932d50 (diff)
downloadperlweeklychallenge-club-595d92e7e979a5c6d56f128b0c2afe5ea84afda2.tar.gz
perlweeklychallenge-club-595d92e7e979a5c6d56f128b0c2afe5ea84afda2.tar.bz2
perlweeklychallenge-club-595d92e7e979a5c6d56f128b0c2afe5ea84afda2.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'challenge-239/eric-cheung/python/ch-1.py')
-rwxr-xr-xchallenge-239/eric-cheung/python/ch-1.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/challenge-239/eric-cheung/python/ch-1.py b/challenge-239/eric-cheung/python/ch-1.py
new file mode 100755
index 0000000000..7d0991df77
--- /dev/null
+++ b/challenge-239/eric-cheung/python/ch-1.py
@@ -0,0 +1,14 @@
+
+## Example 1
+## arrInput_01 = ["ab", "c"]
+## arrInput_02 = ["a", "bc"]
+
+## Example 2
+## arrInput_01 = ["ab", "c"]
+## arrInput_02 = ["ac", "b"]
+
+## Example 3
+arrInput_01 = ["ab", "cd", "e"]
+arrInput_02 = ["abcde"]
+
+print ("".join(arrInput_01) == "".join(arrInput_02))