circuitpython/tests/cmdline/repl_cont.py

22 lines
181 B
Python
Raw Normal View History

# check REPL allows to continue input
1 \
+ 2
'abc'
"abc"
'''abc
def'''
"""ABC
DEF"""
print(
1 + 2)
l = [1,
2]
print(l)
d = {1:'one',
2:'two'}
print(d[2])
def f(x):
print(x)
f(3)