tlomiej

"if" in python

Discussion created by tlomiej on Mar 21, 2011
Latest reply on Mar 25, 2011 by zaloudek
What is the equivalent of this:

Dim wart
If InStr([field] ,"road_1")Then
wart="t"
Else
If InStr([field] ,"road_2")Then
wart="m"
End If
End If

in python?

I try do something but i have error.

Outcomes