summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/string1.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basics/string1.py')
-rw-r--r--tests/basics/string1.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/basics/string1.py b/tests/basics/string1.py
new file mode 100644
index 0000000000..3fecf799be
--- /dev/null
+++ b/tests/basics/string1.py
@@ -0,0 +1,19 @@
+# basic strings
+
+x = 'abc'
+print(x)
+
+x += 'def'
+print(x)
+
+print('123' + "456")
+
+# iter
+print(list('str'))
+
+print('123' + '789' == '123789')
+print('a' + 'b' != 'a' + 'b ')
+
+# Not implemented so far
+# print('1' + '2' > '2')
+# print('1' + '2' < '2')