0
< Or > conditional statements is applied only for character or strings also?
5 ответов
+ 3
when we compare a string and an integer, it obviously results into FALSE ..
you can try typing this -
--------------------------
print("3" == 3)
- result(False)
--------------------------
+ 1
for character or strings , they will run by dictionary
0
afa I know in all most all programming languages this works only with numbers
except number if u try with string u might get an unsupported operations error.
0
Works with strings too.
Their alphabet order I think
0
It works for both char and string. Just make sure to include you char or string in quotes