Guidelines

λ°˜λŒ€λ₯Ό λ°˜ν™˜ν•˜λŠ” not μ—°μ‚°μž

not μ—°μ‚°μžλŠ” λΆˆλ¦¬μ–Έ κ°’μ˜ λ°˜λŒ€λ₯Ό λ°˜ν™˜ν•©λ‹ˆλ‹€.

주둜 쑰건문과 κ²°ν•©ν•˜μ—¬ νŠΉμ • 쑰건이 λ°˜λŒ€μΈ 경우λ₯Ό μ²˜λ¦¬ν•˜κΈ° μœ„ν•΄ μ‚¬μš©ν•©λ‹ˆλ‹€.


not μ—°μ‚°μž μ‚¬μš©

not μ—°μ‚°μžλŠ” 였λ₯Έμͺ½μ— μœ„μΉ˜ν•œ 값이 True이면 Falseλ₯Ό, False이면 Trueλ₯Ό λ°˜ν™˜ν•©λ‹ˆλ‹€.

not μ—°μ‚°μž μ‚¬μš©λ²•
is_logged_in = False # False의 λ°˜λŒ€μΈ True 좜λ ₯ print("not is_logged_in:", not is_logged_in) if not is_logged_in: print("둜그인이 ν•„μš”ν•©λ‹ˆλ‹€.")
Mission
0 / 1

not μ—°μ‚°μžλŠ” μ—°μ‚°μž μ™Όμͺ½μ˜ λΆˆλ¦¬μ–Έ κ°’μ˜ λ°˜λŒ€λ₯Ό λ°˜ν™˜ν•œλ‹€.

O
X

Guidelines

AI Tutor

Publish

Design

Upload

Notes

Favorites

Help

Code Editor

Run
Generate

Execution Result