6 ms·If age is a number, that won’t work.by kstrauser 2mo agoIf age is a number, that won’t work.layer8 2mo agoAdmittedly I’m not so familiar with Python; it does work in Java. In that case, introducing a less hazardous string concatenation operator would seem more universally useful.kstrauser 2mo agoIn Python, that less hazardous string concatenation operator is an f-string.layer8 2mo agoI’m assuming you can only use it with string literals, hence it is less universally useful.TZubiri 2mo agoNope, you can put expressions in them: f'{a} = {functionThatReturnsAButHasSideEffects()}'