소개
실습
Python
1 2 3 4 5 6 7 8 | a=1b=1print(a==b)print(1==2)print(1>2)print(1<2)print(True)print(False) |
실행결과
1 2 3 4 5 6 | TrueFalseFalseTrueTrueFalse |
Ruby
1 2 3 4 5 6 7 8 | a=1b=1puts(a==b)puts(1==2)puts(1>2)puts(1<2)puts(true)puts(false) |
실행결과
1 2 3 4 5 6 | truefalsefalsetruetruefalse |
