Python code to add percent diff of PR sequence