Anonymous user
String comparison: Difference between revisions
→{{header|Astro}}
Line 367:
=={{header|Astro}}==
<lang python>fun
print("\n$a is of type $(typeof(a)) and $b is of type $(typeof(b))")
if a < b: print("$a is strictly less than $b") end
if a <= b: print("$a is less than or equal to $b") end
if a >
if a >= b:
if a == b:
if a != b:
if a is b:
if a is not b: print("$a has negated object identity with $b") end
compare("YUP", "YUP")
compare('a', 'z')
compare("24", "123")
compare(24, 123)
compare(5.0, 5)
=={{header|AWK}}==
|