new in Python (and almost in programming).
I have a file with some lines, for example
...
dr=%%dr
mkl=%%mkl
...
I want to replace the %%dr and %%mkl with zeroes in order to have, for example
...
dr=0
mkl=0
...
BUT I don't know in advance which names I will have (whether dr, mkl or some other strange name), so I'd like to write a code that finds any "%%" and replace it and the rest of the line with a 0.