python print percent sign

print("%d %% done!" % 100)
// prints "100 % done!"

Here is what the above code is Doing:
1. It’s creating a constant named “percentage” and assigning it the value of the integer “100”.
2. It’s printing the string “100 % done!” to the console.
3. It’s printing the value of the constant “percentage” to the console.

The first two lines of code are executed when the program is run. The third line is executed when the program is terminated.

When the program is run, the first two lines of code are executed. The third line is executed when the program is terminated.