파이썬 기초 문법 1,2,3
·
🇱 Languages/Python
parameter: 함수의 입력 값 인터페이스 - def f(x)argument: 실제 Parameter에 대입된 값- print(f(2))Command Line Interface- Graphic User Interface(GUI)와 달리 Text를 사용하여 컴퓨터에 명령을 입력하는 인터페이스 체계print formatting(1) %string>> print("%d %d %d" %(1,2,3))(2) format 함수>> print(" {} {} {}".format("a", "b", "c"))(3) fstring >> print(f"value is {value})padding- 여유 공간을 지정하여 글자배열 + 소수점 자릿수를 맞추기print("Product: %5s, Price per unit: %...