Fix for extra flower bracket in python tuple and fixed formatting