mercredi 2 mai 2018

IF Statement Formating Python

I am trying to create a multiple layered IF statement and I am unsure if the statement below is correctly formatted.

I am having trouble reading the below nested IF statements, is it possible to write this code in a more efficient manner?

Thank you,

 if (a>= gT) and (cLow> rBT):
            print("Alpha 1")


            if (a_high> c_high) and (c_low < d_low):
                if (a> abc) and (a< c_low):
                    print("Final Count")

                    if (min(a, b) > min(c, d)) and \
                            (max(e,f) > max(g, h)): print("All Memory Deleted")

Aucun commentaire:

Enregistrer un commentaire