python script is not working after tried with below commands for the python as edit with compiler option is not showing…