Cobra/Keywords/if: различия между версиями

Содержимое удалено Содержимое добавлено
Строка 40:
print 'x and y are the same'
</source></font>
<font face="verdana">
 
<source lang="python">
# Example 1
print if(x>y, x, y)
Строка 55 ⟶ 56 :
# Example 5
foo = if(condition, 'x', 5) # type is Object
</source></font>