kopia lustrzana https://github.com/micropython/micropython
20 wiersze
247 B
Python
20 wiersze
247 B
Python
|
# 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')
|