To solve ValueError: unsupported format character while forming strings error follow below methods.
ValueError: unsupported format character 'W' (0x57) at index
How to solve ValueError: unsupported format character while forming strings ?
Refer the given methods to solve the issue.
Try using the format() method to perform such operations.
Method 2 :
If you want to print the following output
"90% marks": the use:
python 3.7 and less:
Hope the above solution works.
Also read : OSError: [Error 1] Operation not permitted