In Python, you can print the message "shut up" to the console using the print()
function and string concatenation like this:
main.py27 chars2 lines
Alternatively, you can use string formatting to inject the words "shut" and "up" into a string template like this:
main.py36 chars2 lines
Note that this phrase may be inappropriate in some contexts and it's important to consider how your code and communications may be perceived by others.
gistlibby LogSnag