hey guys, i want to perform the following operation:
b = 'random' c = 'stuff' a = '%s' + '%s' %(b, c)
but i get the following error:
TypeError: not all arguments converted during string formatting
does any one of you know to do so ?
Depending on what you want :
Due to operator precedence, your program is first trying to substitue b and c into second '%s'. Therefore splitting such strings with + is meaningless, it's better to do