@staticmethod<EOL><INDENT>def percentage(part, whole):<DEDENT>
if whole == <NUM_LIT:0>:<EOL><INDENT>return <NUM_LIT:0><EOL><DEDENT>return <NUM_LIT:100> * float(part) / float(whole)<EOL>
Calculate percentage