summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/string1.py
blob: 3fecf799beb9ad867c36019e30c8922a5b150a64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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')