컴퓨터/Python

Python conditions | 파이썬 조건문

sayyesdoit 2023. 2. 1. 09:16

▒ if-else

x = 10
if x > 0:
    print("x is positive")
else:
    print("x is negative")
저작자표시 (새창열림)