1june

  • 홈

chapter 5 1

Python Crash Course: 챕터 5

Conditional Test>>> cars = 'bmw'Can be interpreted as: 'Set the value of the cars 'bmw' ' >>> cars == 'bmw'True>>> cars == 'audi'FalseCan be interpreted as: 'Is the value of the cars 'bmw'?' True. 'Is the value of the cars 'audi'?' False. Case sensitivity is important. For exmaple:>>> car = 'Audi'>>> car == 'audi'FalseHowever,>>> car = 'Audi'>>> car.lower() == 'audi'True  Checking for inequality..

Python/Python Crash Course 2024.06.27
이전
1
다음
더보기
프로필사진

1june

summarised what I have learned 배운 내용 정리

  • 전체 글 (11)
    • Python (11)
      • Python Crash Course (11)
      • Side Projects (0)

티스토리툴바