본문 바로가기
728x90
반응형

프로그램 개발해서 돈벌기165

파이션(python) 초등 완전 기초: 리스트 (Lists) flowers = "pink primrose,hard-leaved pocket orchid,canterbury bells,sweet pea,english marigold,tiger lily,moon orchid,bird of paradise,monkshood,globe thistle" print(type(flowers)) print(flowers) 결과: pink primrose,hard-leaved pocket orchid,canterbury bells,sweet pea,english marigold,tiger lily,moon orchid,bird of paradise,monkshood,globe thistle flowers_list = ["pink primrose", "hard-leaved pock.. 2023. 2. 12.
파이션(python) 초등 완전 기초: 조건문(Conditions and Conditional Statements) 조건 (Conditions) print(2 > 3) 결과: False var_one = 1 var_two = 2 print(var_one = var_one) 결과: False True 기호(Symbol) 의미 == 같다 (equals) != 같지 않다 (does not equal) = 크거나 같다 (greater than or equal to) 조건문(Conditional Statements) "if" 조건문 def evaluate_temp(temp): # Set an initial message message = "Normal temperature." # Update value of message only if temperature greater than 38 if .. 2023. 2. 10.
파이션(python) 초등 완전 기초: 데이타 타입(Data Types) 정수(Integers) x = 14 print(x) print(type(x)) 결과: 14 실수(Floats) nearly_pi = 3.141592653589793238462643383279502884197169399375105820974944 print(nearly_pi) print(type(nearly_pi)) 결과: 3.141592653589793 불린(Booleans): 참, 거짓 z_one = True print(z_one) print(type(z_one)) 결과:True z_three = (1 < 2) print(z_three) print(type(z_three)) 결과: True z_five = not z_three print(z_five) print(type(z_five)) 결과: Fals.. 2023. 2. 9.
파이션(python) 초등 완전 기초: 함수(Function) 함수 생성 "add_three" 함수 생성 # Define the function def add_three(input_var): output_var = input_var + 3 return output_var 함수 사용 # Run the function with 10 as input new_number = add_three(10) # Check that the value is 13, as expected print(new_number) 결과: 13 함수 멀티 파라미터(multiple arguments) def get_pay_with_more_inputs(num_hours, hourly_wage, tax_bracket): # Pre-tax pay pay_pretax = num_hours * hourly_w.. 2023. 2. 9.
파이션(python) 초등 완전 기초: 연산과 변수 출력 print("Hello, world!") 결과: Hello, world! 연산 더하기 print(1 + 2) 결과: 3 빼기 print(9 - 5) 결과: 4 연산(Operation) 기호(Symbol) 예제 더하기 (Addition) + 1 + 2 = 3 빼기 (Subtraction) - 5 - 4 = 1 곱하기 (Multiplication) * 2 * 4 = 8 나누기 (Division) / 6 / 3 = 2 제곱 (Exponent) ** 3 ** 2 = 9 print(((1 + 3) * (9 - 2) / 2) ** 2) 결과: 196.0 주석 (Comments) # Multiply 3 by 2 print(3 * 2) 결과: 6 변수 (Variables) # Create a variable ca.. 2023. 2. 7.
AI 자동으로 유투브 동영상(비디오) 만들기 동영상(비디오)을 자동으로 만들어 주는 사이트입니다. https://pictory.ai/ Pictory – Home of AI Video Editing Technology Pictory's powerful AI enables you to create and edit professional quality videos using text, no technical skills required or software to download. pictory.ai 회원 가입(구글 로그인 지원)을 하고 사용 가능합니다. 비디오 생성과 기존 비디오 편집 기능이 있습니다. (그림 2) 비디오 생성 방식은 다음과 같습니다. 스크립트에서 비디오 생성 기사에서 비디오 생성 기존 비디오에서 문구 수정해서 비디오 생성 이미지나 비디.. 2023. 2. 6.
728x90
반응형