I\'ve made a little script to calculator percent; however, I wish to actually include the \'%\' within the message printed...
Tried this at the start - didn\'t work.
Or use format() function, which is more elegant.
format()
percent = 12 print "Percentage: {}%".format(percent)
4 years later edit
Now In Python3x print() requires parenthesis.
print()
percent = 12 print ("Percentage: {}%".format(percent))