Source Code:
(back to article)
value = 42 # Convert the number to a string and insert it into the final string output = 'The value is %s' % str(value) print(output) # Output: 'The value is 42'
Result:
Report an issue