summaryrefslogtreecommitdiffstatshomepage
path: root/tests/cmdline/repl_cont.py
blob: 66a484ce3d4b4fe1979a486e16e9887ea83b6eac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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)