1) To find the absolute value of a number: >-8.32*-1 vs abs(-8.32) #saves 1 byte 2) If one wants to append list B at the end of A, then: A+=[B]vs vs A.append(B) 3) If one wants to extend A using elements of B, then: A+=B vs A.extend(B) 4) Increment m by n if a certain condition is true in Python m+=(Condition)*n vs if Condition:m+=n Ref: http://ajs-handling-problems-in-pythonblog.blogspot.in/