본문 바로가기
728x90
반응형

전체 글462

[1] 미국 엄마가 어린 아이에게 자주 쓰는 영어 표현 Wash your hands 손 씻어라 Put on your shoes 신발 신어라 Don't forget to say please and thank you please하고 thank you 하는 거 잊지마 Eat your vegetables 야채 먹어 Time for bed 잘 시간이야 Don't run into the house 집에서 뛰지마 Share with your friends 너의 친구들이랑 함께 나눠먹어 We need to share 우리는 같이 나눠 먹어야지 Brush your teeth 이 닦아 Are you ready? 너 준비 됐어? Are you ready to go to school? 너 학교 갈 준비됐어? Why do you need it? 그거 왜 필요해? Are you do.. 2023. 2. 12.
[3] 미국 어린 아이가 자주 쓰는 영어 표현 My lips are chapped. 입술이 텄어요 Ouch, static! 오, 정전기! I owe you one 고마워 I respect him 나는 그 남자를 존경해 I respect her 나는 그 여자를 존경해 I respect that 나는 그것을 존경해 This is ridiculous 이건 말도 안돼 You never know what is going to happen 너는 무슨 일이 일어날 지 모른다. Do you know what he bought for my birthday? 엄마는 알아요? 아빠가 내 생일을 위해 무엇을 샀는지? It's not funny 그거 안 웃겨 It's not that funny 그거 그렇게 안 웃겨 I am not that hungry 나 그렇게 배 안고파.. 2023. 2. 12.
파이션(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.
728x90
반응형