I am trying to type Python code by using LaTeX. The code is not being formatted properly
Example:
#PDF
var = function(data, parameter= 'compile')
#Copy it on my terminal
var = function(data, parameter= ' compile ')
Does someone has some suggestion how to fix it?