percent = 12 print "Percentage: %s %% " % percent # Note the double % sign >>> Percentage: 12 %
val = "The percentage is 95.68" print(f"{val}%")
val = "The percentage is 95.68" print("{}%".format(val))