AnsweredAssumed Answered

Phyton statement if/else - string/double

Question asked by BartoszBrzezinski on Dec 13, 2015
Latest reply on Jan 14, 2016 by Dan_Patterson


I stuck with simple expression in field calculator in ArcGis. I hope you`ll help me. The picture below contain two fields "Zal" (Double) and "W_zal" (string). I would like to fill field "W_zal" based on "Zal". For example: if Zal > 10, W_zal is 'text', if Zal < 10 , W_zal is "text_2". I`dont know whats is wrong, brackets, spacing... I`ll be grateful for yours help.