Page 10 - Python Cơ Bản
P. 10

x = 2


           1 < x < 3   # True

           10 < x < 20 # False

           3 > x <= 2  # True

           2 == x < 4  # True







          8SɨR Xм OMВQ XVE TL϶R Xм XVSRK QШX XϼT LвT     in  OMВQ XVE

          Gɹ XТR XϰM    not in  OMВQ OLɺRK XТR XϰM





           'good' in 'this is a greate example'            # F

           alse

           'good' not in 'this is a greate example'    # True






               'ϴY XVɾG чMАY OLMВR






          4]XLSR LЦ XVв QШX WР GϴY XVɾG чMАY OLMВR XLɺRK HдRK  ,϶Y


          LЎX GɨG GϴY XVɾG чMАY OLMВR чАY HрE ZɧS XLдX ч϶Y HɸRK

           MRHIRXMSR  чВ XϰS XLɧRL QШX FPSGO \м Pʁ  XLE] Zɳ Wм HдRK


           { ŷ }  RLš GɨG RKɺR RKо OLɨG  4,4  .EZEWGVMTX


          -JŷIPMJŷIPWI
   5   6   7   8   9   10   11   12   13   14   15