fix python formatting block
Fix pandoc ormatting errors