Apr-17-2019, 06:21 PM
try changing the
and so you dont get
‘’
to ''
and so you dont get
Error:print('Running i=' + i + ' j=' + j)
TypeError: can only concatenate str (not "int") to str
Use the new string formatingfor i in range(1, 4) : for j in range(1, 4) : print(f'Running i= {i} j= {j}') if i == 2 and j == 1 : print('Breaks inner loop at i=2 j=1') break