mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-22 17:12:55 +08:00
ec8405d304
fix VM for nano mode
8 lines
258 B
Python
8 lines
258 B
Python
# 测试用例
|
|
assert ''.join([]) == ''
|
|
assert ','.join(['a']) == 'a'
|
|
assert ','.join(['a', 'b']) == 'a,b'
|
|
assert ''.join(['a', 'b', 'c']) == 'abc'
|
|
assert '-'.join(['a', 'b', 'c']) == 'a-b-c'
|
|
assert ' '.join(['hello', 'world']) == 'hello world'
|
|
print("PASS") |