M🇷
Size: a a a
M🇷
M🇷
py3
print('Part one {} part two'.format('| hello |'))
Part one | hello | part two
M🇷
S
py3
print('Part one {} part two'.format('| hello |'))
Part one | hello | part two
S
'String {part} one' + part_two + 'string part three'
M🇷
M🇷
py3
print('Part one %s part two' % '| hello |')
Part one | hello | part two
M🇷
py3
print('Part one {test} %s part two' % '| hello |')
Part one {test} | hello | part two
r
\{ \{ \} \}
S
\{ \{ \} \}
r
python3
a = "5"; print(f"a = {a} | a = \\n{a}\\")
File "source_file.py", line 1
a = "5"; print(f"a = {a} | a = \\n{a}\\")
^
SyntaxError: invalid syntax
r
r
S
py3
print('Part one {test} %s part two' % '| hello |')
Part one {test} | hello | part two
I
I
I
S
py3
print('Part one {test} %s part two' % '| hello |')
Part one {test} | hello | part two
M🇷
py3
print('tasdkljaslk%sFsadjlkasd' % 'XXXXX')
tasdkljaslkXXXXXFsadjlkasd
M🇷