본문 바로가기

GameSweetGame

검색하기
GameSweetGame
프로필사진 GameSweetGame

  • 분류 전체보기 (11)
    • Unity (2)
    • C++ (0)
    • Python (9)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Tags
  • animation shader
  • 변수
  • 기즈모
  • 코딩일기
  • trail effect
  • 반복문
  • 유니티
  • 공격범위
  • 유니티 이펙트
  • Break
  • if문
  • 별찍기
  • 조건문
  • print
  • input()
  • 조건식
  • If
  • or
  • unity sword trail effect
  • While
  • 파이참
  • 파이썬
  • animation texture
  • 파이썬에디터
  • 프로그래밍 배우기
  • 코딩
  • 비주얼 스튜디오 코드
  • 시각화
  • 제어문
  • 시야
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록or (1)

GameSweetGame

파이썬 if문에서 and 와 or

a=200 b=33 c=500 if a>b or a>c: print("두 조건중 하나는 참") or는 둘 중 하나만 맞아도 문장을 실행한다. a>b or a>c 200>33 or 200>300 True or False 둘 중 하나는 True여서 문장을 실행한다. a=200 b=33 c=500 if a>b and ab and c>a 200>33 and 500>200 True and True 둘 다 True여서 문장이 실행된다.

Python 2021. 11. 24. 23:27
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바