코딩을 한단계씩 부셔보자.

코딩을 한단계씩 부셔보자.

  • 분류 전체보기 (319)
    • 코딩배움일지 (157)
      • JAVA (79)
      • DataBase (29)
      • Web 구현 (34)
      • 인터페이스 구현 (15)
    • 개인적인 공부 (142)
      • 자바 (6)
      • 백준 (47)
      • Java의 정석 (0)
      • 그냥정리 (2)
      • Database 복습 (5)
      • 테스트 페이지 (1)
      • 프론트엔드 (7)
      • Unity (29)
      • Python (45)
    • TeamProjectHappy (12)
      • front (9)
      • database (3)
    • 개발일지 (2)
      • Journey to West (2)
  • 홈
  • 배움기록
  • 태그
  • 방명록
RSS 피드
로그인
로그아웃 글쓰기 관리

코딩을 한단계씩 부셔보자.

컨텐츠 검색

태그

백준 javascript Python java javabasic 파이썬 SQL Web 2D 배열 unity database 유니티 CSS c# 왕초보 html java기초 자바 자바기초

최근글

댓글

공지사항

아카이브

파이썬(40)

  • day 3-4 (BMI 2.0 Exercise)

    BMI수치에 따른 해석문 Instructions Write a program that interprets the Body Mass Index (BMI) based on a user's weight and height. It should tell them the interpretation of their BMI based on the BMI value. Under 18.5 they are underweight : 18.5 아래 이면 저체중 Over 18.5 but below 25 they have a normal weight : 18.5이상 25 미만 정상체중 Over 25 but below 30 they are slightly overweight : 25이상 30미만 과체중 Over 30 but belo..

    2023.02.22
  • day3-3 python (중첩 if 문과 elif문)

    저번에 했던 if, else 문에서 print("Welcome to the rollercoaster!") height = int(input("What is your height in cm? ")) if height >= 120: print("You can ride the rollercoaster!") else: print("Sorry, you have to grow taller before you can ride.") 중첩 if 문 한번 더 선택의 갈림길이 주어진다. # 중첩 if문 print("Welcome to the rollercoaster!") height = int(input("What is your height in cm? ")) ###################################..

    2023.02.22
  • day 3-2 python (Odd or Even Exercise)(홀수 또는 짝수)

    % 나머지 Modulo 를 이용하서 작성하자 Instructions Write a program that works out whether if a given number is an odd or even number. Even numbers can be divided by 2 with no remainder. e.g. 86 is even because 86 ÷ 2 = 43 43 does not have any decimal places. Therefore the division is clean. e.g. 59 is odd because 59 ÷ 2 = 29.5 29.5 is not a whole number, it has decimal places. Therefore there is a remainder ..

    2023.02.22
  • day 3-1 python (if/else 및 조건 연산자를 통한 흐름 제어)

    예시 print("Welcome to the rollercoaster!") height = int(input("What is your height in cm? ")) if height > 120: # 만약에 120 보다 크다면 print("You can ride the rollercoaster!") else: print("Sorry, you have to grow taller before you can ride.") 결과 결과1 120cm 도 탈수 있게 하려면? if height > 119: ################ 또는 if height >= 120: 이것을 비교 연산자라고 한다. Operator Meaning > Greater than = Greater than or equal to

    2023.02.21
  • day 2-7 python (Life in Weeks Exercise)

    삶을 1주일 단위로 표시하기 origin from Tim Urban https://waitbutwhy.com/2014/05/life-weeks.html Your Life in Weeks — Wait But Why All the weeks in a human life shown on one chart. waitbutwhy.com Instructions I was reading this article by Tim Urban - Your Life in Weeks and realised just how little time we actually have. Create a program using maths and f-Strings that tells us how many days, weeks, months we..

    2023.02.21
  • day2-6 python (숫자 처리 및 F-String)

    print(8/3) # 결과 값이 소숫점으로 나옴 # 결과값 = 2.6666666666666665 print(int(8/3)) # 뒤에 소수점이 다 짤리고 정수값만 남음 반올림 print(round(8/3)) 결과 반올림 비교 # 반올림 print(round(8/3)) # 그냥 반올림 print(round(8/3 ,2)) #소수 두번째 자리까지 반올림한다. 버림 print(8//3) 점수 표시 score = 0 print("당신의 점수는 " + score) print("당신의 점수는 " + str(score)) #문자열 형태로 변환 복합적으로 출력하기 (f-String 쓰기) f-String : 서로 다른 데이터 유형을 문자열로 처리 # 복합적으로 출력하기 score = 0 #integer height ..

    2023.02.21
이전
1 2 3 4 5 6 7
다음
티스토리
© 2018 TISTORY. All rights reserved.

티스토리툴바