Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 파이썬
- 제어문
- 조건식
- 유니티 이펙트
- 유니티
- trail effect
- 파이썬에디터
- if문
- unity sword trail effect
- 별찍기
- 시야
- input()
- 비주얼 스튜디오 코드
- 반복문
- animation texture
- 기즈모
- 프로그래밍 배우기
- animation shader
- 코딩일기
- 변수
- 파이참
- 공격범위
- or
- While
- 코딩
- 시각화
- Break
- If
- 조건문
Archives
- Today
- Total
목록2021/11/24 (2)
GameSweetGame

result1 = 1 in [1,2,3] result2 = 5 in [1,2,3] result3 = 1 not in [1,2,3] result4 = 5 not in [1,2,3] result5 = "j" in "python" result6 = "y" in "python" result7 = "y" not in "python" print(result1) print(result2) print(result3) print(result4) print(result5) print(result6) print(result7) 출력을 먼저 해보면 이렇게 bool 형식으로 나온다. result1에서 리스트 [1, 2, 3] 안에 1이 있니? -> 있음 -> True 출력 result2는 리스트[1, 2, 3]안에 5가 있니?..
Python
2021. 11. 24. 23:38