Learning Python ArcMap

Discussion created by Ryanthomas88 on Nov 21, 2018
Latest reply on Nov 22, 2018 by curtvprice

Hello! I am still in the learning stages of Python coding for ArcMap and have run into a bit of a snag. I am trying to calculate some fields based off of other fields in the attribute table. I am using the arcpy. CalculateField_management command and i'm not sure if I can throw an "IF",... "Then" statement  in there to calculate that field based off of another fields records. This is what I have, which is not working 


... if["FLD_ZONE] = "A","AE","AH","AO","VE" then "SYM" = "100"


I feel like I am combining two things that do not go together.