컴퓨터 썸네일형 리스트형 Python conditions | 파이썬 조건문 ▒ if-else x = 10 if x > 0: print("x is positive") else: print("x is negative") Python loop | 파이썬 반복문 ▒ while count = 1 while count Python standard input output | 파이썬 표준 입출력 name = input("What is your name? ") print("Hello, " + name) print("Hello, world!", end="") #출력 마지막의 줄바꿈 문자를 ""로 변경해서 줄바꿈 방지. 다른 문자도 사용 가능 Python 코드 실행하기 python3 file.py Python Ubuntu에 설치하기 sudo apt install python3 이전 1 ··· 9 10 11 12 13 14 15 ··· 88 다음